MCPcopy Create free account
hub / github.com/block/buzz / subscribeToReconnects

Method subscribeToReconnects

desktop/src/shared/api/relayClientSession.ts:449–455  ·  view source on GitHub ↗
(listener: () => void)

Source from the content-addressed store, hash-verified

447 }
448
449 subscribeToReconnects(listener: () => void) {
450 this.reconnectListeners.add(listener);
451
452 return () => {
453 this.reconnectListeners.delete(listener);
454 };
455 }
456
457 /** Current connection state — synchronous read. */
458 getConnectionState(): ConnectionState {

Callers 8

usePresenceSubscriptionFunction · 0.80
useChannelSectionsFunction · 0.80
useChannelMutesFunction · 0.80
useChannelStarsFunction · 0.80
useLiveChannelUpdatesFunction · 0.80
useChannelSubscriptionFunction · 0.80

Calls 1

deleteMethod · 0.45

Tested by

no test coverage detected