- Preparing search index...
- The search index is not available
peter-piper
Type alias AsyncReducer<T, U>
Async
Reducer<T, U>: ((accumulator: U, value: T, index: number) => MaybePromise<U>)
Type declaration
-
- (accumulator: U, value: T, index: number): MaybePromise<U>
-
Parameters
-
accumulator: U
-
value: T
-
index: number