Skip to main content

wait_ready

Function wait_ready 

Source
fn wait_ready(listener: i32, budget: u64) -> bool
Expand description

Spins on poll(0) for up to budget microseconds, then blocks until readable.

ยงReturns

True when a request was found while spinning, false when we had to block.