* @constructor
(ecInstance, api, dataProcessorHandlers, visualHandlers)
| 25545 | * @constructor |
| 25546 | */ |
| 25547 | function Scheduler(ecInstance, api, dataProcessorHandlers, visualHandlers) { |
| 25548 | this.ecInstance = ecInstance; |
| 25549 | this.api = api; |
| 25550 | this.unfinished; |
| 25551 | |
| 25552 | // Fix current processors in case that in some rear cases that |
| 25553 | // processors might be registered after echarts instance created. |
| 25554 | // Register processors incrementally for a echarts instance is |
| 25555 | // not supported by this stream architecture. |
| 25556 | var dataProcessorHandlers = this._dataProcessorHandlers = dataProcessorHandlers.slice(); |
| 25557 | var visualHandlers = this._visualHandlers = visualHandlers.slice(); |
| 25558 | this._allHandlers = dataProcessorHandlers.concat(visualHandlers); |
| 25559 | |
| 25560 | /** |
| 25561 | * @private |
| 25562 | * @type { |
| 25563 | * [handlerUID: string]: { |
| 25564 | * seriesTaskMap?: { |
| 25565 | * [seriesUID: string]: Task |
| 25566 | * }, |
| 25567 | * overallTask?: Task |
| 25568 | * } |
| 25569 | * } |
| 25570 | */ |
| 25571 | this._stageTaskMap = createHashMap(); |
| 25572 | } |
| 25573 | |
| 25574 | var proto = Scheduler.prototype; |
| 25575 |
nothing calls this directly
no test coverage detected