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

***

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

# Function: asyncForEach()

> **asyncForEach**\<`T`\>(`array`, `predicate`): `Promise`\<`void`\>

Async version of `Array.forEach`

## Type Parameters

• **T** = `any`

## Parameters

### array

`T`[]

### predicate

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

## Returns

`Promise`\<`void`\>

## Defined in

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