rpillay
someEither.flatMap { someCoroutineMethod() <- // this causes an error - "Suspension functions can be called only within coroutine body" }
inline fun <A, B, C> EitherOf<A, B>.flatMap(f: (B) -> Either<A, C>): Either<A, C> = ...
carbaj0
A modern programming language that makes developers happier.