Commanded.PubSub (Commanded v1.3.1) View Source
Use the pubsub configured for a Commanded application.
Link to this section Summary
Link to this section Types
Link to this section Functions
Get the configured pub/sub adapter.
Defaults to a local pub/sub, restricted to running on a single node.
Broadcasts message on given topic.
topic- The topic to broadcast to, ie:
message- The payload of the broadcast
Subscribes the caller to the PubSub adapter's topic.