Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
18
import
WiFi from
"wifi"
;
19
20
function
wait(ms)
21
{
22
return
new
Promise(resolve => Timer.set(resolve, ms));
23
}
24
25
function
resolve(domain)
26
{
Callers
1
main.js
File · 0.70
Calls
1
set
Method · 0.65
Tested by
no test coverage detected