diff options
| author | Nathan Perry <[email protected]> | 2024-09-19 08:17:33 -0400 |
|---|---|---|
| committer | Nathan Perry <[email protected]> | 2024-09-19 08:44:45 -0400 |
| commit | 893b8d79e8bab8dae0f46a0182443df9160592b5 (patch) | |
| tree | febe2a9851e133f88c948f034a3ec3a49112be0a /examples | |
| parent | cdb44f1272e9264324cc866ee2d141301e968e10 (diff) | |
embassy_sync/pubsub: fix PubSubBehavior visibility
https://github.com/embassy-rs/embassy/pull/2969 appears to have broken
direct `publish_immediate()` on `pubsub::Channel`, as it functionally
made `PubSubBehavior` private and didn't delegate this method to the new
(private) `SealedPubSubBehavior`.
This change moves `publish_immediate`, `capacity`, and `is_full` from
`SealedPubSubBehavior` to `PubSubBehavior` in order to restore them to
`pub` visibility.
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions
