Skip to content
Snippets Groups Projects
Unverified Commit ebf5a92a authored by bors[bot]'s avatar bors[bot] Committed by GitHub
Browse files

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: default avatarDion Dokter <dion@tweedegolf.com>
parents 8b9f4ad2 87438482
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment