Parrhesia.Fanout.Dispatcher (parrhesia v0.12.0)

Copy Markdown

Asynchronous local fanout dispatcher.

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

dispatch(event)

@spec dispatch(map()) :: :ok

dispatch(server, event)

@spec dispatch(GenServer.server(), map()) :: :ok

start_link(opts \\ [])

@spec start_link(keyword()) :: GenServer.on_start()