David Glasser
08/21/2019, 5:22 PM.flowOn(<http://Dispatchers.IO|Dispatchers.IO>)
for this — that's the opposite of what I want as it affects where the emission happens. Do I just want to do launch with context inside collect?
someFlow().map { ... }.filter{ ... }.collect { x ->
launch(<http://Dispatchers.IO|Dispatchers.IO>) { doSomethingBlockingWith(x) }
}
Like this?Dominaezzz
08/21/2019, 6:53 PMflatMapMarge
?David Glasser
08/21/2019, 7:00 PMDominaezzz
08/21/2019, 7:01 PM