MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / wait

Function wait

examples/js/networkpromises/main.js:20–23  ·  view source on GitHub ↗
(ms)

Source from the content-addressed store, hash-verified

18import WiFi from "wifi";
19
20function wait(ms)
21{
22 return new Promise(resolve => Timer.set(resolve, ms));
23}
24
25function resolve(domain)
26{

Callers 1

main.jsFile · 0.70

Calls 1

setMethod · 0.65

Tested by

no test coverage detected