Implement independent provider pool scheduling runtime

This commit is contained in:
fawney19
2026-04-17 23:05:49 +08:00
parent dd4641d618
commit 3321bb3ccc
38 changed files with 3222 additions and 83 deletions

View File

@@ -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,