Skip to main content

recv_within_ms

Function recv_within_ms 

Source
pub fn recv_within_ms(ctx: &ServiceContext, ms: u64) -> Option<Message>
Expand description

recv_within, bounded in MILLISECONDS.

For a driver or a poller whose rhythm is shorter than a second. Same contract: None is the deadline passing, and the wait takes whatever arrives next - see recv on why that matters to a task that also awaits replies.