obobo06/24/2021, 6:06 PM
builder, can I somehow guarantee that the code in the
will run inside a specific dispatcher but the code that collects the results sent by `emit()`will run in a less-restricted dispatcher?
knthmn06/25/2021, 1:48 AM
affects the dispatcher upstream and is what you need https://kotlin.github.io/kotlinx.coroutines/kotlinx-coroutines-core/kotlinx.coroutines.flow/flow-on.html