MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / yieldToEventLoop

Function yieldToEventLoop

src/sidebarApps/searchInFiles/indexWorker.js:376–378  ·  view source on GitHub ↗
(delay = 0)

Source from the content-addressed store, hash-verified

374}
375
376function yieldToEventLoop(delay = 0) {
377 return new Promise((resolve) => setTimeout(resolve, delay));
378}

Callers 1

syncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected