-
In Tokio 0.2, watch::Receiver is a stream, and it always yields the initial value. This is convenient when e.g. implementing a background task that is allowed to fall behind and should just operate on the last value. In Tokio 1.x, watch::Receiver isn't a stream and you have to use A couple questions:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
No, this isn't intentional. |
Beta Was this translation helpful? Give feedback.
No, this isn't intentional.