Skip to main content

recv_tagged_msg

Function recv_tagged_msg 

Source
pub fn recv_tagged_msg<F, T>(f: F) -> Option<T>
where F: Fn(ThreadId, Option<u32>) -> bool + 'static + Send + Sync, T: Message + 'static,
Expand description

Returns a tagged message from the thread queue or times out