async fn wait_for(
session: &str,
wait: Duration,
done: impl Fn(&OAuthStatus) -> bool,
) -> OAuthStatusExpand description
The session’s status once done holds for it, or the last one seen after wait.
async fn wait_for(
session: &str,
wait: Duration,
done: impl Fn(&OAuthStatus) -> bool,
) -> OAuthStatusThe session’s status once done holds for it, or the last one seen after wait.