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

Function set

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

Source from the content-addressed store, hash-verified

271 },
272
273 set (clientExpression: string, recordName: string, data: string) {
274 getRecordData(clientExpression, recordName).forEach((recordData) => {
275 if (recordData.setCallback) {
276 recordData.record.set(utils.parseData(data), recordData.setCallback)
277 } else {
278 recordData.record.set(utils.parseData(data))
279 }
280 })
281 },
282
283 setWithPath (clientExpression: string, recordName: string, path: string, data: string) {
284 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