<@U0BRK9HC5> sure ``` fun main(args: Array&lt;Str...
# coroutines
s
@gildor sure
Copy code
fun main(args: Array<String>) {
    launch(EmptyCoroutineContext) {
        withContext(EmptyCoroutineContext) {
            CompletableFuture.runAsync {
                print("Hello")
            }.await()
        }
    }
}

suspend fun <T> CompletableFuture<T>.await() = suspendCoroutine<T> { cont ->
    cont.resume(join())
}
Hello
would never be printed in this case
g
Haa? Why do you use empty context? I mean it doesn't make any sense on JVM, you need a thread