Expand description
A common in-memory MessageBus
for loosely coupled message passing patterns.
Modules§
- database
- handler
- Message handler functionality for the message bus system.
- listener
- stubs
- switchboard
Structs§
- BusMessage
- Represents a bus message including a topic and payload.
- Message
Bus - A generic message bus to facilitate various messaging patterns.
- Message
BusWrapper - Subscription
- Represents a subscription to a particular topic.
Constants§
Functions§
- deregister
- Deregisters the given
handler
for theendpoint
address. - get_
message_ bus - is_
matching - Match a topic and a string pattern pattern can contains - ‘*’ - match 0 or more characters after this ‘?’ - match any character once ‘a-z’ - match the specific character
- is_
subscribed - publish
- Publish a message to a topic.
- register
- Registers the given
handler
for theendpoint
address. - send
- set_
message_ bus - subscribe
- Subscribes the given
handler
to thetopic
. - subscriptions_
count - unsubscribe
- Unsubscribes the given
handler
from thetopic
.