MCPcopy
hub / github.com/gruns/ImmortalDB / sleep

Function sleep

testing/test.js:21–23  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

19let db = ImmortalDB.ImmortalDB
20
21function sleep (ms) {
22 return new Promise(resolve => setTimeout(resolve, ms))
23}
24
25function $ele (id) {
26 return document.getElementById(id)

Callers 1

test.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected