MCPcopy
hub / github.com/tldraw/tldraw / ExecutionQueue.test.ts

File ExecutionQueue.test.ts

packages/utils/src/lib/ExecutionQueue.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { promiseWithResolve, sleep } from './control'
2import { ExecutionQueue } from './ExecutionQueue'
3
4const tick = () => Promise.resolve()

Callers

nothing calls this directly

Calls 10

sleepFunction · 0.90
promiseWithResolveFunction · 0.90
nowMethod · 0.80
tickFunction · 0.70
resolveMethod · 0.65
rejectMethod · 0.65
closeMethod · 0.65
allMethod · 0.65
pushMethod · 0.45
isEmptyMethod · 0.45

Tested by

no test coverage detected