MCPcopy Create free account
hub / github.com/github/docs / sleep

Function sleep

script/helpers/retry-on-error-test.js:23–23  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

21// [end-readme]
22
23const sleep = (ms) => new Promise((resolve) => setTimeout(resolve, ms))
24
25export async function retryOnErrorTest(
26 errorTest,

Callers 1

retryOnErrorTestFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected