What about the following code: ``` fun main(args: ...
# coroutines
k
What about the following code:
Copy code
fun main(args: Array<String>) {
    val gen1 = produce(CommonPool) {
        send(1)
        async(context) {
            send(2)
        }.await()
    }

    runBlocking {
        gen1.channel.consumeEach {
            println(it)
        }
    }
}
hm that actually works, but isn't it weird that I can call a function on one coroutine from another coroutine?