Cizen v0.7.0 Cizen.Dispatcher View Source
The dispatcher.
Link to this section Summary
Functions
Dispatch the event
Listen all events
Listen the specific event body
Listen the specific event type
Link to this section Functions
Dispatch the event.
Listen all events.
Link to this function
listen_event_body(event_body)
View Source
listen_event_body(Cizen.EventBody.t()) :: :ok
Listen the specific event body.
Link to this function
listen_event_type(event_type)
View Source
listen_event_type(Cizen.EventType.t()) :: :ok
Listen the specific event type.