RecoverEffect

interface RecoverEffect<R>

Functions

Link copied to clipboard
open fun <B> Either<R, B>.bind(): B
open fun <B> Validated<R, B>.bind(): B
open fun <B> EagerEffect<R, B>.bind(): B
open suspend fun <B> Effect<R, B>.bind(): B
open fun <B> Option<B>.bind(shift: () -> R): B
open fun <B> Result<B>.bind(transform: (Throwable) -> R): B
Link copied to clipboard
open fun ensure(condition: Boolean, shift: () -> R)
Link copied to clipboard
abstract fun <B> shift(r: R): B

Extensions

Link copied to clipboard
inline fun <R, B : Any> RecoverEffect<R>.ensureNotNull(value: B?, shift: () -> R): B