MCPcopy
hub / github.com/mouredev/hello-javascript / wait

Function wait

Intermediate/07-async.js:134–136  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

132// - Async/Await
133
134function wait(ms) {
135 return new Promise(resolve => setTimeout(resolve, ms))
136}
137
138async function process() {
139

Callers 1

processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected