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

Function SET_KILL_INTERVAL

web-src/src/main-app/store/scriptExecutor.js:177–181  ·  view source on GitHub ↗
(state, {id, timeoutSec, killEnabled})

Source from the content-addressed store, hash-verified

175 },
176
177 SET_KILL_INTERVAL(state, {id, timeoutSec, killEnabled}) {
178 state.killIntervalId = id;
179 state.killTimeoutSec = timeoutSec;
180 state.killEnabled = killEnabled;
181 },
182
183 DEC_KILL_INTERVAL(state) {
184 state.killTimeoutSec--;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected