redeem With
open fun <R2, B> redeemWith(recover: suspend (R) -> Effect<R2, B>, transform: suspend (A) -> Effect<R2, B>): Effect<R2, B>
Deprecated
redeemWith is being removed in the Raise API
Replace with
import arrow.core.raise.effect
Content copied to clipboard
effect { fold(recover, transform).bind() }Content copied to clipboard