mirror of
https://github.com/samuelthomas2774/nxapi.git
synced 2026-10-23 18:15:39 -05:00
Handle connecting directly to the event stream URL
This commit is contained in:
@@ -34,5 +34,5 @@ export function timeoutSignal(ms = 60 * 1000) {
|
||||
controller.abort(new Error('Timeout'));
|
||||
}, ms);
|
||||
|
||||
return [controller.signal, () => clearTimeout(timeout)] as const;
|
||||
return [controller.signal, () => clearTimeout(timeout), controller] as const;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user