[][src]Crate tari_pubsub

Structs

TopicPayload

The container for a message that is passed along the pub-sub channel that contains a Topic to define the type of message and the message itself.

TopicSubscriptionFactory

This structure hold the Subscriber end of a Pub-Sub channel and can be used to create new filtered subscriber channels.

Functions

pubsub_channel

Create Topic based Pub-Sub channel which returns the Publisher side of the channel and TopicSubscriptionFactory which can produce multiple subscribers for provided topics.

Type Definitions

TopicPublisher
TopicSubscriber