MCPcopy Create free account
hub / github.com/CodeWithHarry/Sigma-Web-Dev-Course / sleep

Function sleep

Video 82/script.js:32–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32const sleep = async ()=>{
33 return new Promise((resolve, reject)=>{
34 setTimeout(() => {
35 resolve(45)
36 }, 1000);
37 })
38}
39
40const sum = async (a, b, c)=>{
41 return a+b+c

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected