Skip to main content

lock_taken_within

Function lock_taken_within 

Source
async fn lock_taken_within(
    free: impl Fn() -> bool,
    wait: Duration,
    poll: Duration,
) -> bool
Expand description

Whether free answers true within wait, asking every poll.