muralimohan962
10/31/2018, 6:31 AMibash
10/31/2018, 6:32 AMcoroutineScope
be on the global?muralimohan962
10/31/2018, 6:38 AMibash
10/31/2018, 6:42 AMfun foo() = runBlocking {
// some method that takes a block
someOtherMethod {
// want to access surrounding scope here
coroutineScope { async { ... } }
}
}
?
I was poking this a couple days ago. Don’t have that code in front of me at the moment but will give that a shot.muralimohan962
10/31/2018, 6:44 AM