Главная
Study mode:
on
1
Course Overview
2
Chapter 1: Coroutine Fundamentals
3
Threads vs. Coroutines
4
What are Coroutines?
5
Coroutines Properties
6
Implement Coroutines
7
delay function
8
suspend function
9
runBlocking lambda
10
Custom suspending function
11
Chapter 1: Summary
12
Chapter 2: Coroutine Builders
13
Coroutine Builders
14
Purpose of GlobalScope
15
launch coroutine builder
16
async coroutine builder
17
runBlocking coroutine builder
18
Chapter 2: Summary
19
Chapter 3: Coroutine Cancellation and Exception Handling
20
What is Cooperative Cancellation?
21
yield function
22
isActive flag
23
Handling CancellationException
24
withContext Coroutine Builder
25
Throw Exception with message
26
Timeouts: withTimeout & withTimeoutOrNull
27
Chapter 3: Summary
28
Chapter 4: Composing Suspending Functions
29
Sequential Execution
30
Concurrent Execution
31
Lazy Async Execution
32
Chapter 4: Summary
33
Chapter 5: CoroutineScope, CoroutineContext, and Dispatchers
34
CoroutineScope
35
CoroutineContext Dispatchers
36
Thank You!
Description:
Dive into a comprehensive 2-hour tutorial on Kotlin Coroutines, covering everything from fundamentals to advanced concepts. Learn about coroutine basics, builders, cancellation, exception handling, and composition of suspending functions. Explore the differences between threads and coroutines, implement various coroutine builders, and understand cooperative cancellation. Discover how to handle exceptions, use timeouts, and compose suspending functions sequentially and concurrently. Delve into advanced topics like CoroutineScope, CoroutineContext, and Dispatchers. Gain practical knowledge through demos in IntelliJ IDEA and clear presentations, making you proficient in using coroutines for efficient asynchronous programming in Kotlin.

Kotlin Coroutines - From Fundamentals to Advanced Concepts

Smartherd
Add to list
0:00 / 0:00