Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
requestHistory
Method · 0.95
subscribe
Method · 0.95
handleEose
Method · 0.95
Calls
1
sendRaw
Method · 0.95
Tested by
no test coverage detected