MCPcopy Create free account
hub / github.com/aegeorge42/aegeorge42.github.io / sleep

Function sleep

View/allSlides.js:15–17  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

13
14
15function sleep(ms) {
16 return new Promise(resolve => setTimeout(resolve, ms));
17}
18
19// slides
20// is this the best way to do this? probably not

Callers 1

makeSlidesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected