raulraja
04/05/2019, 10:19 AMCatchIO<E, A> // base IO that has built in bifunctor and its parametric to E
typealias IO<A> = CatchIO<Throwable, A>
typealias EnvIO<R, E, A> = R.() -> IO<E, A>
We are open to new names or suggestions that are easy for users so feel free to comment on this message in a thread and we can look into different optionsivanmorgillo
04/05/2019, 10:43 AMivanmorgillo
04/05/2019, 10:46 AMraulraja
04/05/2019, 10:51 AMpakoito
04/08/2019, 10:17 PMraulraja
04/08/2019, 10:25 PMmain
it has to runBlocking
to get back A
before the JVM exits. But for people integrating them on Android etc they should definetly not call runBlocking
unless they know what they are doingraulraja
04/08/2019, 10:25 PMpakoito
04/08/2019, 10:35 PMpakoito
04/08/2019, 10:35 PMsimon.vergauwen
04/13/2019, 3:59 PMIO
and in the current impl of Fx
. Although @raulraja originally designed it to start runNonBlocking
on the NonBlocking
ctx we provide in effects. To improve that “weird” behavior, “weird” is not the correct word but it has caused me quite some confusion alreadysimon.vergauwen
04/13/2019, 4:01 PMNonBlocking
instead of EmptyCoroutineContext
or Unconfined
. @raulraja right?raulraja
04/13/2019, 5:19 PM