Trait ipc_queue::AsyncSynchronizer[][src]

pub trait AsyncSynchronizer: Clone {
    fn wait(
        &self,
        event: QueueEvent
    ) -> Pin<Box<dyn Future<Output = Result<(), SynchronizationError>>>>;
fn notify(&self, event: QueueEvent); }

Required methods

block execution until the specified event happens.

notify all waiters blocked on the specified event for the same Fifo.

Implementors