MCPcopy Index your code
hub / github.com/bugy/script-server / createUpdateParameterEvent

Function createUpdateParameterEvent

web-src/tests/unit/scriptConfig_test.js:77–82  ·  view source on GitHub ↗
(parameter, clientStateVersion)

Source from the content-addressed store, hash-verified

75}
76
77function createUpdateParameterEvent(parameter, clientStateVersion) {
78 return JSON.stringify({
79 event: 'parameterChanged',
80 data: {clientStateVersion, ...parameter}
81 });
82}
83
84function createRemoveParameterEvent(parameter, clientStateVersion) {
85 return JSON.stringify({

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected