Skip to main content

wait

Function wait 

Source
pub fn wait(
    flow: &Flow,
    stop: &AtomicBool,
    limit: Duration,
    every: Duration,
) -> Result<Grant, Refusal>
Expand description

Asks every every until the sign-in is done, stop is set (Cancel), or limit went by. The network down a moment is asked again; for half a minute in a row, it is said.