Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/serverless/serverless
/ sleep
Function
sleep
packages/serverless/lib/utils/fs/safe-move-file.js:21–21 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
19
}
20
21
const
sleep = (ms) =>
new
Promise((resolve) => setTimeout(resolve, ms))
22
23
/**
24
* Allows a file to be moved (renamed) even across filesystem boundaries.
Callers
1
safeMoveFile
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…