ibash
fun foo() = runBlocking { // some method that takes a block someOtherMethod { // want to access surrounding scope here async { ... } } }
Pavlo Liapota