Coroutines guide https://kotlinlang.org/docs/coroutines-basics.html Coroutines basics Your first coroutine fun main() = runBlocking { // this: CoroutineScope launch { // launch a new coroutine and continue delay(1000L) // non-blocking delay for 1 second (default time unit is ms) println("World!") // print after delay } println("Hello") // main coroutine continues while a previous one is delayed ..