diff options
| author | Nathan Perry <[email protected]> | 2024-09-20 01:52:59 -0400 |
|---|---|---|
| committer | Nathan Perry <[email protected]> | 2024-09-20 01:58:03 -0400 |
| commit | 89bad07e817dec482d385f765da5be3b6d2d0e4c (patch) | |
| tree | 7771cd82627973d7ac8787e426d96d0f1ff7a875 /examples | |
| parent | d7780fcf83a8a35d7b09e5df7b62dd8218436715 (diff) | |
embassy_sync: `Sink` adapter for `pubsub::Pub`
Corresponding to the `Stream` impl for `pubsub::Sub`. Notable
difference is that we need a separate adapter type to store
the pending item, i.e. we can't `impl Sink for Pub` directly.
Instead a method `Pub::sink(&self)` is exposed, which
constructs a `PubSink`.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
