tai v0.0.17 Tai.Events
Link to this section Summary
Link to this section Types
Link to this type
event()
event()
event() :: Tai.Event.t()
event() :: Tai.Event.t()
Link to this type
level()
level()
level() :: :debug | :info | :warn | :error
level() :: :debug | :info | :warn | :error
Link to this type
subscribe_error_reasons()
subscribe_error_reasons()
subscribe_error_reasons() ::
{:already_registered, pid()} | :event_not_registered
subscribe_error_reasons() :: {:already_registered, pid()} | :event_not_registered
Link to this section Functions
Link to this function
broadcast(event, level)
Link to this function
child_spec(opts)
child_spec(opts)
child_spec(opts :: term()) :: Supervisor.child_spec()
child_spec(opts :: term()) :: Supervisor.child_spec()
Link to this function
debug(event)
debug(event)
debug(event()) :: :ok
debug(event()) :: :ok
Link to this function
error(event)
error(event)
error(event()) :: :ok
error(event()) :: :ok
Link to this function
firehose_subscribe()
firehose_subscribe()
firehose_subscribe() :: {:ok, pid()} | {:error, subscribe_error_reasons()}
firehose_subscribe() :: {:ok, pid()} | {:error, subscribe_error_reasons()}
Link to this function
info(event)
info(event)
info(event()) :: :ok
info(event()) :: :ok
Link to this function
start_link(partitions)
start_link(partitions)
start_link(partitions :: pos_integer()) :: {:ok, pid()} | {:error, term()}
start_link(partitions :: pos_integer()) :: {:ok, pid()} | {:error, term()}
Link to this function
subscribe(event_type)
Link to this function
warn(event)
warn(event)
warn(event()) :: :ok
warn(event()) :: :ok