MCPcopy
hub / github.com/ocsjs/ocsjs / canRun

Function canRun

packages/scripts/src/projects/unipus/exploration.ts:196–196  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

194 const wrap = await waitForElement('.question-wrap', { check_period_ms: 3000 });
195 const wrap_content = wrap?.childNodes[0] as HTMLElement;
196 const canRun = () => !!wrap_content?.isConnected;
197 await waitFor(() => state.starting);
198
199 const matches = (...selectors: string[]) => {

Callers 4

handleVideoTestFunction · 0.85
studyFunction · 0.85
startFunction · 0.85
jobFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected