await-wait
TypeScript icon, indicating that this package has built-in type declarations

1.4.1 • Public • Published

await-wait

Easily asynchronously wait for a specified time.

Docs

API Docs

Installation

npm i await-wait

Usage

import { wait } from 'await-wait';

await wait(1000);
// One second has passed
await doAction();

Contributing

All contributions are welcome, please open an issue or pull request.

To use this repository:

  1. npm i -g pnpm (if don't have pnpm installed)
  2. pnpm i
  3. npx projen (this will ensure everything is setup correctly, and you can run this command at any time)
  4. Good to make your changes!

Readme

Keywords

Package Sidebar

Install

npm i await-wait

Weekly Downloads

580

Version

1.4.1

License

Apache-2.0

Unpacked Size

159 kB

Total Files

15

Last publish

Collaborators

  • dkershner6