MCPcopy
hub / github.com/codedogQBY/ReadAny / yieldToEventLoop

Function yieldToEventLoop

packages/core/src/sync/simple-sync.ts:102–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

100}
101
102async function yieldToEventLoop(): Promise<void> {
103 await sleep(0);
104}
105
106function shouldRunSyncCleanup(): boolean {
107 try {

Callers 1

applyChangesFunction · 0.85

Calls 1

sleepFunction · 0.70

Tested by

no test coverage detected