5 lines
359 B
Plaintext
5 lines
359 B
Plaintext
/** Default interval between SSE keep-alive comment frames. */
|
|
export declare const DEFAULT_SSE_KEEP_ALIVE_MS = 15000;
|
|
/** Arms an unref'd timer, or disables keep-alive for invalid delays. */
|
|
export declare function armSseKeepAlive(intervalMs: number, onTick: () => void): ReturnType<typeof setInterval> | undefined;
|
|
//# sourceMappingURL=sseKeepAlive.d.ts.map |