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

Function pollStop

content/utils.js:117–125  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

115 }, timeout);
116
117 const pollStop = () => {
118 if (settled) return;
119 if (flowStopped) {
120 cleanup();
121 reject(new Error(STOP_ERROR_MESSAGE));
122 return;
123 }
124 stopTimer = setTimeout(pollStop, 100);
125 };
126 pollStop();
127 });
128}

Callers 2

waitForElementFunction · 0.85
waitForElementByTextFunction · 0.85

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected