MCPcopy Index your code
hub / github.com/bombshell-dev/clack / sleep

Function sleep

examples/basic/spinner-timer.ts:22–24  ·  view source on GitHub ↗
(ms: number)

Source from the content-addressed store, hash-verified

20}
21
22function sleep(ms: number) {
23 return new Promise((resolve) => setTimeout(resolve, ms));
24}
25
26main();

Callers 2

mainFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected