Method lrs::sync::Queue::pop_wait

Blocks until there is an element in the queue.

Syntax

impl<T, H> Queue<T, H>
    where H: Allocator,
{
    fn pop_wait(&self) -> T
}

Return value

Returns the removed element.