UNPKG

histoire

Version:

A fast story book powered by Vite

5 lines • 384 B
/** Fail at an owned setup/read boundary before acquiring or publishing work. */ export declare function throwIfTestAborted(signal?: AbortSignal): void; /** Interrupt active work; caller must still confirm cleanup before releasing its lane. */ export declare function withTestAbort<T>(work: () => Promise<T>, signal?: AbortSignal): Promise<T>; //# sourceMappingURL=test-abort.d.ts.map