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

Method closeSubscription

desktop/src/shared/api/relayClientSession.ts:651–657  ·  view source on GitHub ↗
(subId: string)

Source from the content-addressed store, hash-verified

649 }
650
651 private async closeSubscription(subId: string) {
652 if (this.wsId === null) {
653 return;
654 }
655
656 await this.sendRaw(["CLOSE", subId]);
657 }
658
659 publishEvent(
660 event: RelayEvent,

Callers 3

requestHistoryMethod · 0.95
subscribeMethod · 0.95
handleEoseMethod · 0.95

Calls 1

sendRawMethod · 0.95

Tested by

no test coverage detected