[**@basementuniverse/async**](../README.md)

***

[@basementuniverse/async](../globals.md) / asyncMap

# Function: asyncMap()

> **asyncMap**\<`TIn`, `TOut`\>(`array`, `predicate`): `Promise`\<`TOut`[]\>

Async version of `Array.map`

## Type Parameters

• **TIn** = `any`

• **TOut** = `any`

## Parameters

### array

`TIn`[]

### predicate

(`value`, `index`?, `array`?) => `Promise`\<`TOut`\>

## Returns

`Promise`\<`TOut`[]\>

## Defined in

[index.ts:20](https://github.com/basementuniverse/async/blob/b24367ddc53f5950bf46159d9da3857bd4e67a06/index.ts#L20)
