Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/nodejs-docs-samples
/ sleep
Function
sleep
batch/test/advanced_creation.test.js:170–174 ·
view source on GitHub ↗
(ms)
Source
from the content-addressed store, hash-verified
168
}
169
170
function
sleep(ms) {
171
return
new
Promise(resolve => {
172
setTimeout(resolve, ms);
173
});
174
}
175
176
async
function
projectIdToNumber(projectId) {
177
// Construct request
Callers
1
waitForJobToSucceed
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected