unwrapOrElseAsyncForOption
Unwraps a result input, returns the content of an Some(T)
.
If the value is an None
then it calls def
with its value.
function unwrapOrElseAsyncForOption<T>(input: Option<T>, recoverer: AsyncRecoveryFn<T>): Promise<T>;