Suite of AT Protocol TypeScript libraries built on web standards
21
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update xrpc-server/stream/websocket-keepalive.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

authored by

Roscoe Rubin-Rottenberg
Copilot
and committed by
GitHub
98697757 f128a76c

+4
+4
xrpc-server/stream/websocket-keepalive.ts
··· 32 32 public initialSetup = true; 33 33 public reconnects: number | null = null; 34 34 35 + /** 36 + * Creates a new WebSocketKeepAlive instance. 37 + * @param opts Configuration options for keepalive, heartbeat, reconnect, and socket creation. 38 + */ 35 39 constructor(public opts: KeepAliveOptions) {} 36 40 37 41 async *[Symbol.asyncIterator](): AsyncGenerator<Uint8Array> {