MCPcopy Create free account
hub / github.com/ColmapView/Colmapview.github.io / nextMacrotask

Function nextMacrotask

src/hooks/asyncImageCachePrefetch.test.ts:15–17  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

13}
14
15function nextMacrotask(): Promise<void> {
16 return new Promise((resolve) => setTimeout(resolve, 0));
17}
18
19describe('async image cache prefetch', () => {
20 it('reports completion immediately for empty prefetch lists', async () => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected