function somehow find out in which dispatcher/executor is it running now?
g
gildor
09/19/2018, 8:17 AM
Yes, just find CoroutineDispatcher in coroutineContext
gildor
09/19/2018, 8:17 AM
Coroutine context is like a map
gildor
09/19/2018, 8:17 AM
And each context has key
gildor
09/19/2018, 8:18 AM
Not sure what you mean about "executor"
a
aaverin
09/19/2018, 2:11 PM
executor is something I need to find
I need to run my 3rd-party library callback in the same thread coroutine is running, and callback wants an executor