tai v0.0.7 Tai.Events

Link to this section Summary

Link to this section Types

Link to this type event()
event() :: Tai.Event.t()

Link to this section Functions

Link to this function broadcast(event)
broadcast(event()) :: term()
Link to this function child_spec(opts)
child_spec(opts :: term()) :: Supervisor.child_spec()
Link to this function firehose_subscribe()
firehose_subscribe() ::
  {:ok, pid()}
  | {:error, {:already_registered, pid()} | :event_not_registered}
Link to this function start_link(partitions)
start_link(partitions :: pos_integer()) :: {:ok, pid()} | {:error, term()}
Link to this function subscribe(event_type)
subscribe(event_type :: atom()) ::
  {:ok, pid()}
  | {:error, {:already_registered, pid()} | :event_not_registered}