suspendingFlatMap

inline suspend fun <T : Any, R : Any, E : Any> ClerkResult<T, E>.suspendingFlatMap(transform: suspend (value: T) -> ClerkResult<R, E>): ClerkResult<R, E>

Returns a new ClerkResult by applying transform to the value of a ClerkResult.Success, or returns the original ClerkResult.Failure if this is a failure.