TaiEvents (tai_events v0.0.2)
Link to this section Summary
Link to this section Types
Link to this type
event()
Specs
event() :: TaiEvents.Event.t()
Link to this type
event_type()
Specs
event_type() :: module()
Link to this type
level()
Specs
level() :: :debug | :info | :warning | :error
Link to this type
partitions()
Specs
partitions() :: pos_integer()
Link to this type
subscribe_error_reasons()
Specs
subscribe_error_reasons() :: {:already_registered, pid()} | :event_not_registered
Link to this section Functions
Link to this function
broadcast(event, level)
Specs
Link to this function
child_spec(opts)
Specs
child_spec(opts :: term()) :: Supervisor.child_spec()
Link to this function
debug(event)
Specs
debug(event()) :: :ok
Link to this function
error(event)
Specs
error(event()) :: :ok
Link to this function
firehose_subscribe()
Specs
firehose_subscribe() :: {:ok, pid()} | {:error, subscribe_error_reasons()}
Link to this function
info(event)
Specs
info(event()) :: :ok
Link to this function
start_link(partitions)
Specs
start_link(partitions()) :: {:ok, pid()} | {:error, term()}
Link to this function
subscribe(event_type)
Specs
subscribe(event_type()) :: {:ok, pid()} | {:error, :subscribe_error_reasons}
Link to this function
warning(event)
Specs
warning(event()) :: :ok