UNPKG

@xylabs/forget

Version:

Base functionality used throughout XY Labs TypeScript/JavaScript libraries

13 lines 656 B
import { type ForgetConfig } from './ForgetConfig.ts'; /** * Node.js-specific forget configuration that extends ForgetConfig with process termination options. */ export interface ForgetNodeConfig<T = any> extends ForgetConfig<T> { /** Terminate the process on an exception that happens outside of the promise being forgotten. */ terminateOnException?: boolean; /** Terminate the process if the promise times out. */ terminateOnTimeout?: boolean; } /** Default Node.js forget configuration with termination disabled. */ export declare const defaultForgetNodeConfig: ForgetNodeConfig<unknown>; //# sourceMappingURL=ForgetNodeConfig.d.ts.map