tryRecover

inline fun <T> ResultFlow<T>.tryRecover(crossinline failure: suspend (Throwable) -> T): Flow<Result<T>>

Returns a flow containing the output of applying KotlinResult.tryRecover to each value of the original flow.

See also

map