MCPcopy
hub / github.com/tdewolff/minify / Scheduler

Function Scheduler

_benchmarks/sample_echarts.js:23608–23620  ·  view source on GitHub ↗
(ecInstance, api, dataProcessorHandlers, visualHandlers)

Source from the content-addressed store, hash-verified

23606 /** @class */
23607 function () {
23608 function Scheduler(ecInstance, api, dataProcessorHandlers, visualHandlers) {
23609 // key: handlerUID
23610 this._stageTaskMap = createHashMap();
23611 this.ecInstance = ecInstance;
23612 this.api = api; // Fix current processors in case that in some rear cases that
23613 // processors might be registered after echarts instance created.
23614 // Register processors incrementally for a echarts instance is
23615 // not supported by this stream architecture.
23616
23617 dataProcessorHandlers = this._dataProcessorHandlers = dataProcessorHandlers.slice();
23618 visualHandlers = this._visualHandlers = visualHandlers.slice();
23619 this._allHandlers = dataProcessorHandlers.concat(visualHandlers);
23620 }
23621
23622 Scheduler.prototype.restoreData = function (ecModel, payload) {
23623 // TODO: Only restore needed series and components, but not all components.

Callers

nothing calls this directly

Calls 1

createHashMapFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…