MCPcopy Create free account
hub / github.com/EvoMap/evolver / _interruptAllSleeps

Function _interruptAllSleeps

index.js:291–298  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

289 });
290}
291function _interruptAllSleeps() {
292 if (_activeSleeps.size === 0) return;
293 // Snapshot first because resolvers mutate the set as they run.
294 const finishers = Array.from(_activeSleeps);
295 for (const fn of finishers) {
296 try { fn(); } catch (_) {}
297 }
298}
299
300// Round-6 (§19.5): heartbeat-internal wake recovery (drainPool +
301// pokeHeartbeat + SSE restart + self-driving-poll re-arm) lives in

Callers 2

mainFunction · 0.85

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected