toEither

open fun toEither(): Either<R, A>

fold the EagerEffect into an Either. Where the shifted value R is mapped to Either.Left, and result value A is mapped to Either.Right.