- _scan<T, TOut>(src: Iterable<T>, aggFunc: ((prev: TOut, curr: T, idx: number) => TOut), seed: TOut): Iterable<TOut>
-
Parameters
-
src: Iterable<T>
-
aggFunc: ((prev: TOut, curr: T, idx: number) => TOut)
-
- (prev: TOut, curr: T, idx: number): TOut
-
Parameters
-
prev: TOut
-
curr: T
-
idx: number
Returns TOut
-
seed: TOut
Returns Iterable<TOut>
- _scan<T, _>(src: Iterable<T>, aggFunc: ((prev: T, curr: T, idx: number) => T)): Iterable<T>
-
Parameters
-
src: Iterable<T>
-
aggFunc: ((prev: T, curr: T, idx: number) => T)
-
- (prev: T, curr: T, idx: number): T
-
Parameters
-
prev: T
-
curr: T
-
idx: number
Returns T
Returns Iterable<T>