Trait domafic::processors::Listeners [] [src]

pub trait Listeners {
    type Message;
    fn process_all<'a, P: ListenerProcessor<'a, Self::Message>>(
        &'a self,
        acc: &mut P::Acc
    ) -> Result<(), P::Error>; }

Collection of Listeners with a common message type

Associated Types

Type of messages publishd by the listeners in response to events

Required Methods

Processes all of the listeners in the given collection using processor P and accumulator acc.

Implementors