Рет қаралды 3,264
We know how to start a task in C# and .NET, but how the heck do you stop one? With a cancellation token, that's how.
Source code available at: github.com/Jas...
Topics include:
- Multitasking
- Task.WhenAny
- Task.WhenAll
- CancellationTokenSource
- CancellationToken
- async/await