Kotlin Coroutines - From Fundamentals to Advanced Concepts
Offered By: Smartherd via YouTube
Course Description
Overview
Syllabus
Course Overview
Chapter 1: Coroutine Fundamentals
Threads vs. Coroutines
What are Coroutines?
Coroutines Properties
Implement Coroutines
delay function
suspend function
runBlocking lambda
Custom suspending function
Chapter 1: Summary
Chapter 2: Coroutine Builders
Coroutine Builders
Purpose of GlobalScope
launch coroutine builder
async coroutine builder
runBlocking coroutine builder
Chapter 2: Summary
Chapter 3: Coroutine Cancellation and Exception Handling
What is Cooperative Cancellation?
yield function
isActive flag
Handling CancellationException
withContext Coroutine Builder
Throw Exception with message
Timeouts: withTimeout & withTimeoutOrNull
Chapter 3: Summary
Chapter 4: Composing Suspending Functions
Sequential Execution
Concurrent Execution
Lazy Async Execution
Chapter 4: Summary
Chapter 5: CoroutineScope, CoroutineContext, and Dispatchers
CoroutineScope
CoroutineContext Dispatchers
Thank You!
Taught by
Smartherd
Related Courses
Kotlin Bootcamp for ProgrammersGoogle via Udacity Введение в язык Котлин
St. Petersburg State Polytechnic University via Coursera Kotlin for Java Developers
JetBrains via Coursera Developing Android Apps with Kotlin
Google via Udacity Advanced Android with Kotlin
Google via Udacity