C# Advanced Async - Getting progress reports, cancelling tasks, and more
Now that we know how to do the basics in async, let us take it to the next level. In this video, we look at how to get status reports back from asynchronous tasks so we can display a progress bar and more to the screen while they are running. We also set up the ability to cancel a long-running or hung asynchronous task.
We will also explore the differences between adding tasks in a foreach loop vs and how we can even get the benefits of both methods at the same time.
- Newsletter signup (with exclusive discounts): (your email will be kept safe and you will not be spammed).
- Source Code:
- Intro to Async / Await:
0:00 - Intro
0:55 - Demo application walk-through
5:05 - Code behind demo application
12:00 - Implementing a progress report for tasks to be done
23:11 - Progress report recap
25:02 - Canceling tasks/methods; Cancellation tokens
1 view
4
2
1 month ago 00:00:00 2
ТАНКИ НА ЗАКАЗ - ГАЙД ПО ВАШЕМУ ТАНКУ (ЧИТАЙТЕ ОПИСАНИЕ)
1 month ago 01:44:33 1
Book launch — Trotsky(ism): Tool of Imperialism
1 month ago 00:12:35 1
How Trump’s Team Uses Quantum Computers - Alex Collier Explains!
3 months ago 00:00:00 1
ТАНКИ НА ЗАКАЗ (ЧИТАЙТЕ ОПИСАНИЕ)
3 months ago 00:13:57 1
Why did Davy Jones Look SO Realistic?
3 months ago 00:24:56 1
Harvest Time🔥Russians Advance Further🎖Zelensky Still Rejects Peace⚔️Military Summary For
3 months ago 00:22:02 1
Ozzy Osbourne Finally Gets His Due: Hall of Fame Induction
3 months ago 01:35:50 1
Iran Absorbs Strike, Limits Harm, Offers Off-Ramp; Ukr South Donbass Disaster; Rus Advance, Ukr Flee