Jorge Castillo
03/02/2020, 11:14 AMIO.unit
.continueOn(<http://Uniflowdispatcher.dispatcher.io|Uniflowdispatcher.dispatcher.io>)
.flatMap { sideEffect() }
.unsafeRunScoped(scope) { callback ->
// TODO
}
Still adding IO to the combo there is not gonna make much difference given uniflow works eagerly anyways, afaik. You’ll end up needing to unsafe run the IO to enforce the state update to happen right there, @arnaud.giuliani can confirmarnaud.giuliani
03/02/2020, 4:13 PMarnaud.giuliani
03/02/2020, 4:14 PMJorge Castillo
03/02/2020, 7:32 PMarnaud.giuliani
03/03/2020, 8:47 AM