Emits an event topic and provides its reply when awaited.
Reads the current or next value of a state topic.
Optionaloptions: MessageBusQueryOptionsRuns a responder for each event until its signal aborts.
Optionaloptions: MessageBusAbortOptionsRuns a handler for each state value until its signal aborts.
Optionaloptions: MessageBusAbortOptionsReturns a state topic as a MessageBusStateSource.
Returns an event topic as an observable of its payloads.
Sends events and reads typed state and event topics.
Remarks
State topics are written by the host to each connection separately through MessageBusClient.emit; a connection only ever reads its own values.