What is the difference between Notify and CancellationToken #7659
Unanswered
BrandonMFong
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Can both be used across multiple Runtimes or tokio::spawn() tasks? |
Beta Was this translation helpful? Give feedback.
1 reply
-
Both can be used cross the tokio runtimes. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Notify: https://docs.rs/tokio/latest/tokio/sync/struct.Notify.html
CancellationToken: https://docs.rs/tokio-util/latest/tokio_util/sync/struct.CancellationToken.html
Beta Was this translation helpful? Give feedback.
All reactions