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

Function unsubscribe

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

Source from the content-addressed store, hash-verified

241 },
242
243 unsubscribe (clientExpression: string, recordName: string) {
244 getRecordData(clientExpression, recordName).forEach((recordData) => {
245 recordData.record.unsubscribe(recordData.subscribeCallback)
246 })
247 },
248
249 subscribeWithPath (clientExpression: string, recordName: string, path: string, immediate: boolean) {
250 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