recover
recover<
E,A,B>(f): (outcome) =>Outcome<E,A|B>
Defined in: Core/Op.ts:751
Provides a fallback Outcome when the result is Err. Ok and Nil pass through.
Type Parameters
Section titled “Type Parameters”E
A
B
Parameters
Section titled “Parameters”(e) => Outcome<E, B>
Returns
Section titled “Returns”(outcome) => Outcome<E, A | B>