This message was deleted.
# coroutines
s
This message was deleted.
g
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
What if you use Dispatchers.Unconfined for your 'mainThreadSurrogate' instead?