Improve SSE status and event auth handling
This commit is contained in:
@@ -9,6 +9,7 @@ const _state = {
|
||||
status: null, // StatusResponse | null
|
||||
config: null, // ConfigResponse | null
|
||||
serverOnline: false,
|
||||
sseReconnecting: false,
|
||||
};
|
||||
|
||||
const _listeners = {}; // key -> Set<fn>
|
||||
|
||||
Reference in New Issue
Block a user