Home > polyethylene > AsyncIndexedMapping
A function that receives an object (elem
) and its index
in the iteration and returns a different object or a Promise
to a different object
Signature:
export declare type AsyncIndexedMapping<T, U> = (elem: T, index: number) => U | PromiseLike<U>;