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