Cont
Functions
fold
Link copied to clipboard
abstract suspend fun <B> fold(recover: suspend (R) -> B, transform: suspend (A) -> B): B
Content copied to clipboard
Runs the suspending computation by creating a Continuation, and running the fold
function over the computation.
open suspend fun <B> fold(error: suspend (error: Throwable) -> B, recover: suspend (R) -> B, transform: suspend (A) -> B): B
Content copied to clipboard
Like fold
but also allows folding over any unexpected Throwable that might have occurred.
handle Error
Link copied to clipboard
handle Error With
Link copied to clipboard
to Validated
Link copied to clipboard
Extensions
Sources
common source
Link copied to clipboard