Cizen.Dispatcher (Cizen v0.18.1) View Source
The dispatcher.
Link to this section Summary
Functions
Dispatch the event.
Listen events with the given event filter.
Listen events with the given event filter for the given saga ID.
Listen all events.
Listen the specific event type.
Link to this section Functions
Specs
dispatch(Cizen.Event.t()) :: :ok
Dispatch the event.
Listen events with the given event filter.
Listen events with the given event filter for the given saga ID.
Specs
listen_all() :: :ok
Listen all events.
Specs
listen_event_type(module()) :: :ok
Listen the specific event type.