prutill
Version:
Environment-agnostic production-ready promise utility library for managing promise stacks and race conditions. Supports Node.js, Deno, and browsers.
10 lines (6 loc) • 319 B
text/typescript
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck
export { stackBuilder, getLastPromise, raceBuilder, getRaceWonPromise } from "./src/runManager.ts";
import DelayedPromise from "./src/delayedPromise.ts";
export { DelayedPromise };
export { promiseWrapper } from "./src/promiseWrapper.ts";