UNPKG

@mastra/core

Version:
9 lines • 447 B
/** Largest delay `setTimeout` honors; anything above is silently clamped to 1 ms by Node. */ export declare const MAX_DRAIN_TIMEOUT_MS = 2147483647; /** * Validates a drain timeout at a public boundary (`Mastra.shutdown()`, * `Mastra.stopWorkers()`, `PullTransport`). Returns the value so callers can * inline it. */ export declare function assertDrainTimeout(value: number, label: string): number; //# sourceMappingURL=drain-timeout.d.ts.map