MCPcopy
hub / github.com/chartjs/Chart.js / wait

Method wait

src/core/core.animation.js:105–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

103 }
104
105 wait() {
106 const promises = this._promises || (this._promises = []);
107 return new Promise((res, rej) => {
108 promises.push({res, rej});
109 });
110 }
111
112 _notify(resolved) {
113 const method = resolved ? 'res' : 'rej';

Callers 1

awaitAllFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected