UNPKG

safety-number-one

Version:

Utility functions to work with Promises, functions and async functions safely by converting throws to Result Tuple types

7 lines 334 B
import { awaitPromiseSafely } from "./awaitPromiseSafely"; import { runAsyncFnSafely } from "./runAsyncFnSafely"; import { runFnSafely } from "./runFnSafely"; globalThis.$awaitPromiseSafely = awaitPromiseSafely; globalThis.$runAsyncFnSafely = runAsyncFnSafely; globalThis.$runFnSafely = runFnSafely; //# sourceMappingURL=global.js.map