MCPcopy Index your code
hub / github.com/deepstreamIO/deepstream.io / receivedUpdateForPath

Function receivedUpdateForPath

test-e2e/framework/record.ts:47–54  ·  view source on GitHub ↗
(clientExpression: string, recordName: string, path: string, data: string)

Source from the content-addressed store, hash-verified

45 },
46
47 receivedUpdateForPath (clientExpression: string, recordName: string, path: string, data: string) {
48 data = utils.parseData(data)
49 getRecordData(clientExpression, recordName).forEach((recordData) => {
50 sinon.assert.calledOnce(recordData.subscribePathCallbacks[path])
51 sinon.assert.calledWith(recordData.subscribePathCallbacks[path], data)
52 recordData.subscribePathCallbacks[path].resetHistory()
53 })
54 },
55
56 receivedNoUpdate (clientExpression: string, recordName: string) {
57 getRecordData(clientExpression, recordName).forEach((recordData) => {

Callers

nothing calls this directly

Calls 3

forEachMethod · 0.80
getRecordDataFunction · 0.70
parseDataMethod · 0.45

Tested by

no test coverage detected