Support Me:
https://patreon.com/angelsix
Table of Content Below
In a follow on from threads, we really dig deep into Tasks and the async and await keywords, with dozens of real examples, heavy focus on threads, contexts, understanding the real flow of code across the asynchronous barrier.
1:23 What is Asynchronous
2:30 Issues with Threads
6:41 - Issue 1 Expensive to make
7:52 - Issue 2 Resuming after thread finish
8:14 --- Solution 1 Blocking Wait
10:21 --- Solution 2 Polling Wait
14:22 --- Solution 3 Event Callback
29:19 --- The running and callback threads
34:31 What is a Task
36:19 Tasks, Async, Await
38:08 - Synchronous Method
43:19 - Asynchronous Method
1:03:06 Async Analogy
1:09:09 The Synchronous part in Tasks
1:13:57 - Showing the point at which asynchronicity starts
1:25:55 Async Return Types
1:26:18 - Returning a Task of T
1:28:00 - Comsuming a Task of T Method 1
1:29:48 - Comsuming a Task of T Method 2
1:34:40 Async Keyword
1:40:26 Consuming Async Methods
1:47:42 What happens during an Async call
1:52:47 Threads during Async calls
1:54:04 - The Synchronization Context
2:01:18 - ConfigureAwait(false)
2:04:35 Exceptions in Async calls
2:15:32 Async in WPF
2:16:16 - Synchronous in UI
2:19:39 - Asyncronous in UI
2:24:09 - Editing UI after await
2:25:44 - Synchronization Context on UI thread
2:33:23 - Supporting me
Source Code: https://github.com/angelsix/youtube/t...
Latest Source Code: https://github.com/angelsix/youtube/t...
C# Tasks Async Await | |
| 305 Likes | 305 Dislikes |
| 62,591 views views | 25,227 followers |
| Science & Technology | Upload TimePublished on 13 Apr 2018 |
Không có nhận xét nào:
Đăng nhận xét