Join Slack
Powered by
Is there a way to get the dispatcher used in runBl...
# coroutines
s
Sam
12/30/2018, 5:58 PM
Is there a way to get the dispatcher used in runBlocking?
d
Dico
12/31/2018, 1:39 AM
coroutineContext[ContinuationInterceptor] as? CoroutineDispatcher
s
Sam
12/31/2018, 5:13 PM
Thx, i was wondering if there was a public API and not necessarily within the runBlocking block
Sam
12/31/2018, 5:14 PM
like Dispatcher.DEFAULT
d
Dico
12/31/2018, 7:01 PM
The api for runBlocking event loop is internal.
s
Sam
12/31/2018, 7:02 PM
Gotcha
5
Views
Open in Slack
Previous
Next