ScanStreamTransformer<S, T> constructor
ScanStreamTransformer<S, T> (
- T accumulator(
- T accumulated,
- S value,
- int index
- 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);