MCPcopy Create free account
hub / github.com/GoogleCloudPlatform/nodejs-docs-samples / sleep

Function sleep

run/websockets/test/system.test.js:144–146  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

142 });
143
144 function sleep(ms) {
145 return new Promise(resolve => setTimeout(resolve, ms));
146 }
147});

Callers 1

system.test.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected