MCPcopy
hub / github.com/apache/echarts / pipe

Method pipe

src/core/task.ts:308–319  ·  view source on GitHub ↗

* @param downTask The downstream task. * @return The downstream task.

(downTask: Task<Ctx>)

Source from the content-addressed store, hash-verified

306 * @return The downstream task.
307 */
308 pipe(downTask: Task<Ctx>): void {
309 if (__DEV__) {
310 assert(downTask && !downTask._disposed && downTask !== this);
311 }
312
313 // If already downstream, do not dirty downTask.
314 if (this._downstream !== downTask || this._dirty) {
315 this._downstream = downTask;
316 downTask._upstream = this;
317 downTask.dirty();
318 }
319 }
320
321 dispose(): void {
322 if (this._disposed) {

Callers 4

writePNGFunction · 0.80
readPNGFunction · 0.80
rewriteFunction · 0.80
_pipeMethod · 0.80

Calls 2

assertFunction · 0.50
dirtyMethod · 0.45

Tested by

no test coverage detected