unwrapOrElseAsyncForResult
Unwraps input, returns the content of an Ok(T)
.
If the value is an Err(E)
then it calls recoverer
with its value.
function unwrapOrElseAsyncForResult<T, E>(input: Result<T, E>, recoverer: AsyncRecoveryFromErrorFn<E, T>): Promise<T>;