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

Function set

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

Source from the content-addressed store, hash-verified

278 },
279
280 set (clientExpression: string, recordName: string, data: string) {
281 getRecordData(clientExpression, recordName).forEach((recordData) => {
282 if (recordData.setCallback) {
283 recordData.record.set(utils.parseData(data), recordData.setCallback)
284 } else {
285 recordData.record.set(utils.parseData(data))
286 }
287 })
288 },
289
290 setWithPath (clientExpression: string, recordName: string, path: string, data: string) {
291 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