Module embassy_sync::pubsub
source · Expand description
Implementation of PubSubChannel, a queue where published messages get received by all subscribers.
Re-exports§
pub use publisher::DynImmediatePublisher;
pub use publisher::DynPublisher;
pub use publisher::ImmediatePublisher;
pub use publisher::Publisher;
pub use subscriber::DynSubscriber;
pub use subscriber::Subscriber;
Modules§
- Implementation of anything directly publisher related
- Implementation of anything directly subscriber related
Structs§
- A broadcast channel implementation where multiple publishers can send messages to multiple subscribers
Enums§
- Error type for the PubSubChannel
- The result of the subscriber wait procedure
Traits§
- ‘Middle level’ behaviour of the pubsub channel. This trait is used so that Sub and Pub can be generic over the channel.