@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
7 lines • 331 B
TypeScript
import type { Promise } from "./promise.js";
/**
* Kills the promise with the specified error, which will be propagated to all
* fibers waiting on the value of the promise.
*/
export declare function die(e: unknown): <E, A>(promise: Promise<E, A>) => import("../Effect/effect.js").UIO<boolean>;
//# sourceMappingURL=die.d.ts.map