aballano
03/02/2020, 11:20 AMIO.unit
.continueOn(<http://Uniflowdispatcher.dispatcher.io|Uniflowdispatcher.dispatcher.io>)
.flatMap { sideEffect() }
.effectMap { updateUI }
.unsafeRunScoped(scope) { /* Log or crash if necessary */ }
prefer to run UI changes inside IO and leave the unsafeRun function for logging purposes only 😬