feat(push): smart push queueing with page-visibility fast path and app-ping/pong fallback

This commit is contained in:
2026-06-04 22:10:48 -04:00
parent fc0527e9e7
commit 4e6dfb4726
16 changed files with 192 additions and 60 deletions
+2
View File
@@ -12,6 +12,8 @@ export abstract class ClientConnection {
readonly transportName: string;
sessionId: string | null = null;
onDisconnect: ((conn: ClientConnection) => void) | null = null;
/** True while the client tab/app is in the foreground. Starts true (assume visible until told otherwise). */
pageVisible: boolean = true;
constructor(transportName: string) {
this.transportName = transportName;