We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 062961b commit f4f2856Copy full SHA for f4f2856
src/reconnecting-eventsource.ts
@@ -57,6 +57,11 @@ export default class ReconnectingEventSource implements EventSource {
57
readonly OPEN = 1;
58
readonly CLOSED = 2;
59
60
+ // Evidently these are to exist both on the class and the instance
61
+ static readonly CONNECTING = 0;
62
+ static readonly OPEN = 1;
63
+ static readonly CLOSED = 2;
64
+
65
_eventSource: EventSource | null;
66
_lastEventId: string | null;
67
_timer: NodeJS.Timer | null;
0 commit comments