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

Function setWithPath

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

Source from the content-addressed store, hash-verified

281 },
282
283 setWithPath (clientExpression: string, recordName: string, path: string, data: string) {
284 getRecordData(clientExpression, recordName).forEach((recordData) => {
285 if (recordData.setCallback) {
286 recordData.record.set(path, utils.parseData(data), recordData.setCallback)
287 } else {
288 recordData.record.set(path, utils.parseData(data))
289 }
290 })
291 },
292
293 erase (clientExpression: string, recordName: string, path: string) {
294 getRecordData(clientExpression, recordName).forEach((recordData) => {

Callers

nothing calls this directly

Calls 4

forEachMethod · 0.80
getRecordDataFunction · 0.70
setMethod · 0.45
parseDataMethod · 0.45

Tested by

no test coverage detected