Replies: 1 comment 1 reply
-
Instead of passing in an already-running task, you should pass in a delegate that takes the token as a parameter and returns the task. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm doing something like this:
So... There is
AttachExternalCancellation
extension, but according to Blog it seems better to avoid using.Then, what is the proper way to attach cancellation token?
Or maybe should I change the logic?
Beta Was this translation helpful? Give feedback.
All reactions