/// Create a blokcing message iterator
///
/// Contrarily to `message_iterator`, this one will block on the event queue
/// represented by the provided token rather than returning `None` if no event is available.
Create a blokcing message iterator
Contrarily to `message_iterator`, this one will block on the event queue
represented by the provided token rather than returning `None` if no event is available.
Create a blokcing message iterator Contrarily to ` message_iterator ` this one will block on the event queue represented by the provided token rather than returning ` None ` if no event is available .
pub fn blocking_message_iterator<T>(token: QueueToken) -> (Sink<T>, BlockingMsgIter<T>) {
    let (sink, iter) = message_iterator();
    (
        sink,
        BlockingMsgIter {
            iter,
            evt_queue: token.inner,
        },
    )
}
pub fn blocking_message_iterator < T > ( token : QueueToken ) -> ( Sink < T > , BlockingMsgIter < T > ) { let ( sink , iter ) = message_iterator ( ) ; ( sink , BlockingMsgIter { iter , evt_queue : token . inner , } , ) }
Create a blokcing message iterator
Contrarily to `message_iterator`, this one will block on the event queue
represented by the provided token rather than returning `None` if no event is available.
Create a blokcing message iterator Contrarily to ` message_iterator ` this one will block on the event queue represented by the provided token rather than returning ` None ` if no event is available .
token
QueueToken