Tai.SystemBus (tai v0.0.75)
A core pubsub bus for async message communication. The following subsystems depend on this module.
- boot
- stream connection
- product, fees, position & account hydration
- order book changesets
- metrics
NOTE: To ensure maximum performance you should not publish custom messages or subscribe to system topics
Link to this section Summary
Link to this section Types
Link to this type
partitions()
Specs
partitions() :: pos_integer()
Link to this type
topic()
Specs
Link to this type
topics()
Specs
topics() :: [topic()]
Link to this section Functions
Link to this function
broadcast(topic, message)
Specs
Link to this function
child_spec(opts)
Specs
child_spec(opts :: term()) :: Supervisor.child_spec()
Link to this function
start_link(partitions)
Specs
start_link(partitions()) :: {:ok, pid()} | {:error, term()}
Link to this function
subscribe(topics)
Specs
Link to this function