MCPcopy Index your code
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / sleep

Function sleep

run/logging-manual/test/system.test.js:65–67  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

63};
64
65function sleep(ms) {
66 return new Promise(resolve => setTimeout(resolve, ms));
67}
68
69describe('Logging', () => {
70 let requestLog;

Callers 1

system.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected