kotlinx.coroutines Library support for Kotlin coroutines in Kotlin/JS. suspend fun main() = coroutineScope { launch { delay(1000) println("Kotlin Coroutines World!") } println("Hello") } Documentation Guide to kotlinx.coroutines by example on JVM (read it first) Full kotlinx.coroutines API reference