brook v0.2.1 Brook.Dispatcher behaviour

Defines the Brook Dispatcher behaviour, requiring the init/0 and dispatch/1 functions be implemented by the client.

Link to this section Summary

Callbacks

Distributes received messages across multiple nodes.

Start a Brook dispatcher.

Link to this section Callbacks

Link to this callback

dispatch(arg1)
dispatch(Brook.Event.t()) :: :ok

Distributes received messages across multiple nodes.

Link to this callback

init()
init() :: :ok

Start a Brook dispatcher.