diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-09-29 13:28:56 +0000 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-09-29 13:28:56 +0000 |
| commit | ebf5a92ab2c23cc6430e83109cd5762904cf2c41 (patch) | |
| tree | b902c0d546808b3f29c6c457a7303e86dee32752 /embassy-usb-driver | |
| parent | 8b9f4ad259ebb2c4fd2258f1c12ac33a5a8f8976 (diff) | |
| parent | 874384826d4a6f9c9a9c8d3abf41f99a662f58fb (diff) | |
Merge #990
990: Small pubsub improvements r=Dirbaio a=diondokter
- Futures in pub & sub are now awaited instead of returned
- Added functions for reading how many messages are available
This helps people get better compiler diagnostics. For example, I forgot to call await on a future and the compiler didn't complain.
This also helps with making some decisions based on the state of the channels.
Co-authored-by: Dion Dokter <[email protected]>
Diffstat (limited to 'embassy-usb-driver')
0 files changed, 0 insertions, 0 deletions
