MCPcopy Create free account
hub / github.com/astercloud/aster / doUpdate

Function doUpdate

ui/src/composables/useAsterDataBinding.ts:122–129  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 }
121
122 const doUpdate = () => {
123 if (context.processor.value) {
124 context.processor.value.setData(context.surfaceId, path, newValue);
125 }
126 else if (context.dataModel.value) {
127 setData(context.dataModel.value, path, newValue);
128 }
129 };
130
131 if (debounceMs > 0) {
132 if (debounceTimer) {

Callers 1

updateValueFunction · 0.85

Calls 2

setDataFunction · 0.90
setDataMethod · 0.80

Tested by

no test coverage detected