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

Function validateUpstreamOutputRange

src/util/model.ts:1417–1426  ·  view source on GitHub ↗
(
    // null/undefined is not allowed, otherwise bug-prone.
    upstreamOutputRange: Pick<TaskProgressParams, 'start' | 'end'>,
    thisTaskPlannedRange: Pick<TaskProgressParams, 'start' | 'end'>
)

Source from the content-addressed store, hash-verified

1415 * This method provides an assertion for that.
1416 */
1417export function validateUpstreamOutputRange(
1418 // null/undefined is not allowed, otherwise bug-prone.
1419 upstreamOutputRange: Pick<TaskProgressParams, 'start' | 'end'>,
1420 thisTaskPlannedRange: Pick<TaskProgressParams, 'start' | 'end'>
1421): void {
1422 assert(
1423 upstreamOutputRange.start === thisTaskPlannedRange.start
1424 && upstreamOutputRange.end === thisTaskPlannedRange.end
1425 );
1426}
1427
1428export function createSimpleOverallStageHandler(
1429 seriesType: ComponentSubType,

Callers 2

progressFunction · 0.90
incrementalUpdateMethod · 0.90

Calls 1

assertFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…