MCPcopy Index your code
hub / github.com/processing/p5.js / wait

Function wait

test/unit/image/downloading.js:64–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62});
63
64const wait = async time => {
65 return new Promise(resolve => setTimeout(resolve, time));
66};
67
68suite('Downloading', () => {
69 beforeAll(async function() {

Callers 1

downloading.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected