Kotlin coroutines

09/05/2017 - 11:00 to 11:40
Stage Lamarr

Session abstract: 

The async/await feature allows you to write the asynchronous code in a straightforward way, without a long list of callbacks. Used in C# for quite a while already, it has proven to be extremely useful. In Kotlin 1.1 you have async and await as library functions implemented using coroutines.

A coroutine is a light-weight thread that can be suspended and resumed later. Very precise definition, but might be confusing at first. What ‘light-weight thread’ means? How does suspension work? This talk uncovers the magic.

We’ll discuss the concept of coroutines, the power of async/await, and how you can benefit from defining your asynchronous computations using suspend functions.

Session Video: 

Session Slide: