ScanStreamTransformer<S, T> constructor

ScanStreamTransformer<S, T>(
  1. T accumulator(
    1. T accumulated,
    2. S value,
    3. int index
    ),
  2. T seed
)

Constructs a ScanStreamTransformer which applies an accumulator Function over the source Stream and returns each intermediate result. The seed value is used as the initial accumulator value.

Implementation

ScanStreamTransformer(this.accumulator, this.seed);