We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5897f4 commit ef00764Copy full SHA for ef00764
1 file changed
packages/node-sdk/src/flag-updates-sse.ts
@@ -46,7 +46,7 @@ export function openFlagUpdatesSSE({
46
reconnectTimer = undefined;
47
void connect();
48
}, reconnectDelayMs);
49
- reconnectTimer.unref();
+ reconnectTimer.unref?.();
50
51
reconnectDelayMs = Math.min(reconnectDelayMs * 2, MAX_RECONNECT_DELAY_MS);
52
};
0 commit comments