MCPcopy Create free account
hub / github.com/bugy/script-server / reloadModel

Function reloadModel

web-src/src/main-app/store/scriptConfig.js:79–85  ·  view source on GitHub ↗
({state, commit, rootState}, {scriptName, parameterValues, clientModelId})

Source from the content-addressed store, hash-verified

77 },
78
79 reloadModel({state, commit, rootState}, {scriptName, parameterValues, clientModelId}) {
80 if (rootState.scripts.selectedScript === scriptName) {
81 commit('SET_LOADING', true);
82 sendReloadModelRequest(parameterValues, clientModelId, internalState.websocket)
83 commit('SET_SENT_VALUES', parameterValues)
84 }
85 },
86
87 sendParameterValue({state, commit}, {parameterName, value}) {
88 const websocket = internalState.websocket;

Callers

nothing calls this directly

Calls 1

sendReloadModelRequestFunction · 0.85

Tested by

no test coverage detected