toIor

suspend fun <E, A> Effect<E, A>.toIor(): Ior<E, A>

Run the Effect by returning Ior.Right of A, or Ior.Left of E.


fun <E, A> EagerEffect<E, A>.toIor(): Ior<E, A>