Type alias IndexedSelector<InputType, ReturnType>
IndexedSelector<InputType, ReturnType>: ((index: number, data: InputType) => ReturnType | Promise<ReturnType>)
Type declaration
-
- (index: number, data: InputType): ReturnType | Promise<ReturnType>
-
Parameters
-
index: number
-
data: InputType
Returns ReturnType | Promise<ReturnType>