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

Function unsubscribe

test-e2e/framework/record.ts:236–240  ·  view source on GitHub ↗
(clientExpression: string, recordName: string)

Source from the content-addressed store, hash-verified

234 },
235
236 unsubscribe (clientExpression: string, recordName: string) {
237 getRecordData(clientExpression, recordName).forEach((recordData) => {
238 recordData.record.unsubscribe(recordData.subscribeCallback)
239 })
240 },
241
242 subscribeWithPath (clientExpression: string, recordName: string, path: string, immediate: boolean) {
243 getRecordData(clientExpression, recordName).forEach((recordData) => {

Callers

nothing calls this directly

Calls 3

forEachMethod · 0.80
getRecordDataFunction · 0.70
unsubscribeMethod · 0.65

Tested by

no test coverage detected