Skip to content

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.

T

Callable<[], T>

The action to run.

T | undefined

work’s result, or undefined if it threw.