pub trait AsyncMediatorInternalNext {
    fn next<'life0, 'async_trait>(
        &'life0 self
    ) -> Pin<Box<dyn Future<Output = Result<(), TryRecvError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Available on crate feature async only.
Expand description

Process the next event Ev from the channel asynchronously. This will call all listeners with a clone of that event.

Required Methods

Implementors