-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tokio-stream wrappers for watch and broadcast receivers #3382
Comments
We can add wrappers that just internally use the |
Yes, please |
I will give a try to see if I can help adding it :) |
This would be wonderful to have! It's the only thing preventing me from doing a full upgrade to tokio 1.0 on a major project of mine. |
Sorry I got dragged away for something else and couldn't find time finishing it up. Perhaps I can take a look at it this coming weekends. Otherwise @Darksonn might be able to give me a hand or just do this on her own if I am too slow progressing :) |
Hi, any update on this? |
Yes! The wrappers were waiting for #3464, which was just released in tokio-util v0.3.6 one hour ago. |
The wrappers are out in tokio-stream v0.1.3. |
In tokio 0.2 watch and broadcast receivers implemented Stream.
In tokio 1.0 they don't.
While I know watch and broadcast will probably never be Stream themselves, there is some work in progress to make them convertible into Streams: #3303
While this is still in progress - is it possible to have watch and broadcast receiver wrappers added to tokio-stream?
The text was updated successfully, but these errors were encountered: