pub(crate) async fn granted_services_kept_fresh(
client: &Client,
local_url: &str,
auth_key: &str,
) -> (Arc<RwLock<Vec<String>>>, Arc<Notify>)Expand description
Which Google services this agent has a grant on, for tools/list: asked of srv now, again every
minute and right after the agent changes a grant, because tools/list is answered at once and
never waits on srv. The Notify is woken when the set changes, so the client is told to list
the tools again (it does not on its own).