MCPcopy Index your code
hub / github.com/apache/echarts / wait

Function wait

theme/tool/thumb.js:25–29  ·  view source on GitHub ↗
(time)

Source from the content-addressed store, hash-verified

23const path = require('path');
24
25async function wait(time) {
26 return new Promise(resolve => {
27 setTimeout(resolve, time);
28 });
29}
30
31async function snapshot(browser, themePath) {
32 let themeName = path.basename(themePath, '.js');

Callers 1

snapshotFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…