MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / nextTick

Function nextTick

apps/desktop/main/network/proxy-apply-queue.test.ts:13–15  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

11}
12
13function nextTick(): Promise<void> {
14 return new Promise((resolve) => setImmediate(resolve))
15}
16
17test('ProxyApplyQueue waits for the pending apply before resolving waiters', async () => {
18 const queue = new ProxyApplyQueue()

Callers 2

scheduleSyncFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected