import type { FiberId } from "../../Fiber/FiberId"; import * as T from "../../Task/_core"; import type { EIO } from "../../Task/model"; import type { XPromise } from "../model"; /** * Completes the promise with interruption. This will interrupt all fibers * waiting on the value of the promise as by the fiber calling this method. */ export declare const interrupt: (promise: XPromise) => T.IO; /** * Completes the promise with interruption. This will interrupt all fibers * waiting on the value of the promise as by the specified fiber. */ export declare const interruptAs: (id: FiberId) => (promise: XPromise) => T.IO; export declare const interruptJoiner: ( joiner: (a: T.EIO) => void ) => (promise: XPromise) => T.RIO; //# sourceMappingURL=interrupt.d.ts.map