MCPcopy Index your code
hub / github.com/QLHazyCoder/FlowPilot / markRunningStepsStopped

Function markRunningStepsStopped

background.js:4566–4573  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4564}
4565
4566async function markRunningStepsStopped() {
4567 const state = await getState();
4568 const runningSteps = getRunningSteps(state.stepStatuses);
4569
4570 for (const step of runningSteps) {
4571 await setStepStatus(step, 'stopped');
4572 }
4573}
4574
4575async function requestStop(options = {}) {
4576 const { logMessage = '已收到停止请求,正在取消当前操作...' } = options;

Callers 1

requestStopFunction · 0.85

Calls 3

getStateFunction · 0.85
getRunningStepsFunction · 0.70
setStepStatusFunction · 0.70

Tested by

no test coverage detected