Cizen v0.10.0 Cizen.EventFilterDispatcher View Source
A dispatcher based on subscription with filter set.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor
listen event filter
listen event filter with meta
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
listen(event_filter, lifetime_pids \\ [])
View Source
listen(Cizen.EventFilter.t(), lifetime_pids :: [pid()]) :: :ok
listen event filter.
Link to this function
listen_with_meta(event_filter, meta, lifetime_pids \\ [])
View Source
listen_with_meta( Cizen.EventFilter.t(), meta :: term(), lifetime_pids :: [pid()] ) :: :ok
listen event filter with meta.