Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 536 Bytes

polyethylene.asyncindexedmapping.md

File metadata and controls

13 lines (8 loc) · 536 Bytes

Home > polyethylene > AsyncIndexedMapping

AsyncIndexedMapping type

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>;