edenman
09/17/2021, 2:10 AMflowOn that takes a CoroutineScope? i basically want a way to have a flow { } block that runs inside an existing scopeedenman
09/17/2021, 2:11 AMedenman
09/17/2021, 2:14 AMScope.coroutineContext but that crashes with Flow context cannot contain job in itelizarov
09/21/2021, 3:27 PMflow is cold. It should not be defined in the existing scope. But you can collect it in a scope that you have.edenman
09/21/2021, 11:11 PMflow { } block on a background threadedenman
09/21/2021, 11:11 PMflowOn but i was trying not to deal with that because Dispatchers.IO isn’t in KMP