# `@esfx/async-delay`

The `@esfx/async-delay` package provides the `delay` function.

# Overview

* [Installation](#installation)
* [Usage](#usage)
* [API](#api)

# Installation

```sh
npm i @esfx/async-delay
```

# Usage

```ts
import { delay } from "@esfx/async-delay";

async function doSomeAction() {
    // wait 10 seconds
    await delay(10 * 1000);
}
```

# API

You can read more about the API [here](https://esfx.github.io/esfx/api/async-delay.html).
