https://kotlinlang.org logo
#coroutines
Title
# coroutines
s

Slackbot

03/11/2019, 1:10 PM
This message was deleted.
g

gildor

03/11/2019, 1:18 PM
It make sense, you do not wait for result, in general I don't like tests that don't have way to check that async operation is finished, but probably your particular case will be fixed if you replace newSingleThreadContext with Dispatchers.Unconfined
s

streetsofboston

03/11/2019, 1:18 PM
What if you use Dispatchers.Unconfined for your 'mainThreadSurrogate' instead?
2 Views