Trait cqrs_eventsourcing::Handler[][src]

pub trait Handler<A, E> where
    A: Aggregate,
    E: DomainEvent<A>, 
{ #[must_use] fn handle<'life0, 'life1, 'async_trait>(
        &'life0 self,
        events: &'life1 Vec<FormatedEvent<A, E>>
    ) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }

Required methods

#[must_use]fn handle<'life0, 'life1, 'async_trait>(
    &'life0 self,
    events: &'life1 Vec<FormatedEvent<A, E>>
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>> where
    'life0: 'async_trait,
    'life1: 'async_trait,
    Self: 'async_trait, 
[src]

Loading content...

Implementors

Loading content...