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

Publish an event Ev asynchronously from within a handler.

Required Methods

Implementors