MCPcopy 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
170function sleep(ms) {
171 return new Promise(resolve => {
172 setTimeout(resolve, ms);
173 });
174}
175
176async function projectIdToNumber(projectId) {
177 // Construct request

Callers 1

waitForJobToSucceedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected