Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Kotlin Coroutines - New Ways to Do Asynchronous Programming

NDC Conferences via YouTube

Overview

Google, IBM & Meta Certificates – 40% Off
One Coursera Plus subscription covers most Professional Certificates on Coursera.
Unlock All Certificates
This talk explains how Kotlin coroutines support asynchronous programming with async/await and suspend functions. It covers coroutine suspension, contexts, structural concurrency, coroutine leaks, and channel semantics.

Syllabus

Intro
async and await are functions defined in the standard library
Example: simple consecutive logic
Rewrite with suspend functions
Coroutine builders
Simple "load image" example
async creates a new coroutine: starts a new asynchronous computation
Call stack of a coroutine
Specify the context
Structural concurrency
Two asynchronous coroutines
Problem: leaking coroutine
Enforcing structure
Types of Channels
"Rendezvous" channel semantics
Suspended coroutine

Taught by

NDC Conferences

Reviews

Start your review of Kotlin Coroutines - New Ways to Do Asynchronous Programming

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.