arrow-fx-coroutines / arrow.fx.coroutines / evalOn

evalOn

suspend fun <T> ~~evalOn~~(context: CoroutineContext, block: suspend () -> T): T Deprecated: Use withContext

Executes a task on context and comes back to the original CoroutineContext.

State of context and previous CoroutineContext is merged

Do you like Arrow?

Arrow Org
<