MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / waitForState

Function waitForState

graph-ui/tools/smoke-w5a.mjs:226–231  ·  view source on GitHub ↗
(page, state, timeout)

Source from the content-addressed store, hash-verified

224
225/** Auf eine Lage des Sidecars warten. */
226const waitForState = (page, state, timeout) =>
227 page.waitForFunction(
228 (expected) => globalThis.__atlasLlm?.state === expected,
229 state,
230 { timeout },
231 );
232
233async function main() {
234 const totalStarted = Date.now();

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected