MCPcopy Index your code
hub / github.com/darkreader/darkreader / timeout

Function timeout

tests/support/test-utils.ts:19–21  ·  view source on GitHub ↗
(delay: number)

Source from the content-addressed store, hash-verified

17}
18
19export function timeout(delay: number): Promise<void> {
20 return new Promise<void>((resolve) => setTimeout(resolve, delay));
21}

Callers 2

export.tests.tsFile · 0.90
toggle.tests.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected