aboutsummaryrefslogtreecommitdiff
path: root/embassy-executor
diff options
context:
space:
mode:
authorNathan Perry <[email protected]>2024-09-20 01:52:59 -0400
committerNathan Perry <[email protected]>2024-09-20 01:58:03 -0400
commit89bad07e817dec482d385f765da5be3b6d2d0e4c (patch)
tree7771cd82627973d7ac8787e426d96d0f1ff7a875 /embassy-executor
parentd7780fcf83a8a35d7b09e5df7b62dd8218436715 (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 'embassy-executor')
0 files changed, 0 insertions, 0 deletions