MCPcopy Create free account
hub / github.com/cameri/nostream / onUnsubscribed

Method onUnsubscribed

src/adapters/web-socket-adapter.ts:100–103  ·  view source on GitHub ↗
(subscriptionId: string)

Source from the content-addressed store, hash-verified

98 }
99
100 public onUnsubscribed(subscriptionId: string): void {
101 logger('client %s unsubscribed %s', this.clientId, subscriptionId)
102 this.subscriptions.delete(subscriptionId)
103 }
104
105 public onSubscribed(subscriptionId: string, filters: SubscriptionFilter[]): void {
106 logger('client %s subscribed %s to %o', this.clientId, subscriptionId, filters)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected