Async Functions
map
- map<T>(collection: T): Promise<Tuple<T>>
- map<T, R>(collection: ArrayLike<T>, iteratee?: ArrayIteratee<T, Promise<R>>): Promise<R[]>
- map<T, R>(collection: Record<string, T>, iteratee?: RecordIteratee<T, Promise<R>>): Promise<R[]>
- map(collection: any, iteratee?: any): Promise<any[]>
Type Parameters
Parameters
Returns Promise<Tuple<T>>
Type Parameters
Parameters
collection: ArrayLike<T>
Optional iteratee: ArrayIteratee<T, Promise<R>>
Returns Promise<R[]>
Type Parameters
Parameters
collection: Record<string, T>
Optional iteratee: RecordIteratee<T, Promise<R>>
Returns Promise<R[]>
Parameters
collection: any
Optional iteratee: any
Returns Promise<any[]>
AsyncUtils.map, mapping values with async iteratee functions
Theo Sun
5.18.0