Interface IIterationSummary<T>

Iteration summary, produced by onEnd operator.

onEnd

interface IIterationSummary<T> {
    count: number;
    duration: IDuration<T>;
    lastValue: undefined | T;
    sync: boolean;
}

Type Parameters

  • T

Properties

count: number

Number of items iterated.

duration: IDuration<T>

Duration details, to help measure iteration performance.

lastValue: undefined | T

Last emitted value, if there was any (undefined otherwise).

sync: boolean

Iteration concurrency flag:

  • true - synchronous iteration
  • false - asynchronous iteration