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

Function receivedUpdate

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

Source from the content-addressed store, hash-verified

37 },
38
39 receivedUpdate (clientExpression: string, recordName: string, data: string) {
40 data = utils.parseData(data)
41 getRecordData(clientExpression, recordName).forEach((recordData) => {
42 sinon.assert.calledOnce(recordData.subscribeCallback)
43 sinon.assert.calledWith(recordData.subscribeCallback, data)
44 recordData.subscribeCallback.resetHistory()
45 })
46 },
47
48 receivedUpdateForPath (clientExpression: string, recordName: string, path: string, data: string) {
49 data = utils.parseData(data)

Callers

nothing calls this directly

Calls 3

forEachMethod · 0.80
getRecordDataFunction · 0.70
parseDataMethod · 0.45

Tested by

no test coverage detected