Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
23
const
sleep = (ms) =>
new
Promise((resolve) => setTimeout(resolve, ms))
24
25
export
async
function
retryOnErrorTest(
26
errorTest,
Callers
1
retryOnErrorTest
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected