@effect-ts/system
Version:
Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.
9 lines • 472 B
TypeScript
import * as T from "./_internal/effect.js";
import type * as Fiber from "./core.js";
/**
* Interrupts the fiber from whichever fiber is calling this method. If the
* fiber has already exited, the returned effect will resume immediately.
* Otherwise, the effect will resume when the fiber exits.
*/
export declare function interrupt<E, A>(fiber: Fiber.Fiber<E, A>): T.Effect<unknown, never, import("../Exit/exit.js").Exit<E, A>>;
//# sourceMappingURL=interrupt.d.ts.map