An open API service indexing awesome lists of open source software.

https://github.com/alanfriedman/waitms

Promise-based timeouts
https://github.com/alanfriedman/waitms

delay settimeout sleep timeout wait

Last synced: 2 months ago
JSON representation

Promise-based timeouts

Awesome Lists containing this project

README

        

# waitms

Promise-based timeouts

## Usage

- Asynchronous. Returns a Promise
- Defaults to 500ms

```
const wait = require('waitms');

await wait(); // 500ms
await wait(5000); // 5s
```