@esfx/async-delay
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@esfx/async-delay

The @esfx/async-delay package provides the delay function.

Overview

Installation

npm i @esfx/async-delay

Usage

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @esfx/async-delay

Weekly Downloads

1,734

Version

1.0.0

License

Apache-2.0

Unpacked Size

27.5 kB

Total Files

9

Last publish

Collaborators

  • rbuckton