Город МОСКОВСКИЙ
02:34:07

C# Tasks Async Await

Аватар
JavaScript для заработка в интернете
Просмотры:
27
Дата загрузки:
29.11.2023 16:41
Длительность:
02:34:07
Категория:
Технологии и интернет

Описание

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/tree/67ad430308b32282c25d1ae07bc53f92424f1ddc/Tasks

Latest Source Code: https://github.com/angelsix/youtube/tree/develop/Tasks

Рекомендуемые видео