catchOutOfBandAsync
catchOutOfBandAsync<
T>(work):Promise<T|undefined>
Defined in: packages/core/src/function/no-throw.ts:73
Runs work, containing any error it throws or rejects with. See
catchOutOfBandApplyAsync.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”MaybeAsyncCallable<[], T>
The action to run.
Returns
Section titled “Returns”Promise<T | undefined>
work’s result, or undefined if it threw or rejected.