gen_dispatcher v0.2.4 GenDispatcher.Adapter behaviour

Behaviour module for dispatcher adapters

Link to this section Summary

Link to this section Callbacks

Link to this callback dispatch(event, state)
dispatch(event :: Map.t(), state :: Map.t()) :: :ok | {:error, term()}

Dispatch event