louiscad
10/31/2018, 7:06 PMsuspend
modifier for functions, a few symbols like the CoroutineContext
interface, and compiler support that transforms suspend calls to continuations.
Then, to actually make use of it, people usually rely on the well crafted kotlinx.coroutines library (mind the X), which has integration for several platforms and popular libraries. You can always build your own coroutines library if kotlinx.coroutines doesn't suit your needs, but it's unlikely you need to go this deep.