In the RC it appears that `newSingleThreadContext(...
# coroutines
s
In the RC it appears that
newSingleThreadContext()
has been removed. What should I be using instead?
v
you can use it or
asCoroutineDispatcher
s
@Vsevolod Tolstopyatov [JB] Thanks
it wasn't showing up when I tried to import which is why I oculdn't find it
v
Is it idiomatic?
d
The argument is that the most common use case is limiting execution to one thread at a time. Context switches can be avoided by allowing that execution to occur by any thread (from Default Dispatcher). So LimitingDispatcher (private api currently) has been introduced.
s
@Dico Can you speak to why it's private and when it will be public?