Skip to main content

wait_for

Function wait_for 

Source
async fn wait_for(
    session: &str,
    wait: Duration,
    done: impl Fn(&OAuthStatus) -> bool,
) -> OAuthStatus
Expand description

The session’s status once done holds for it, or the last one seen after wait.