Skip to main content

try_recv

Function try_recv 

Source
pub fn try_recv(ctx: &ServiceContext) -> Option<Message>
Expand description

Take a message if one is already waiting, without blocking.

None means the queue was empty at that instant and nothing more.