mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-01 17:00:21 +08:00
Implement independent provider pool scheduling runtime
This commit is contained in:
@@ -231,6 +231,10 @@ impl LocalOAuthRefreshCoordinator {
|
||||
self.cache.lock().await.insert(key_id.to_string(), entry);
|
||||
}
|
||||
|
||||
pub async fn invalidate_cached_entry(&self, key_id: &str) -> bool {
|
||||
self.cache.lock().await.remove(key_id).is_some()
|
||||
}
|
||||
|
||||
pub async fn resolve_with_result(
|
||||
&self,
|
||||
executor: &dyn LocalOAuthHttpExecutor,
|
||||
|
||||
Reference in New Issue
Block a user