MCPcopy
hub / github.com/deepstreamIO/deepstream.io / unsubscribes

Function unsubscribes

test-e2e/framework/event.ts:36–41  ·  view source on GitHub ↗
(clientExpression: string, subscriptionName: string)

Source from the content-addressed store, hash-verified

34 },
35
36 unsubscribes (clientExpression: string, subscriptionName: string) {
37 clientHandler.getClients(clientExpression).forEach((client) => {
38 client.client.event.unsubscribe(subscriptionName, client.event.callbacks[subscriptionName])
39 client.event.callbacks[subscriptionName].isSubscribed = false
40 })
41 }
42}

Callers

nothing calls this directly

Calls 2

forEachMethod · 0.80
unsubscribeMethod · 0.65

Tested by

no test coverage detected