Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/stater/sleep

A simple promise based timeout
https://github.com/stater/sleep

sleep timeout

Last synced: 19 days ago
JSON representation

A simple promise based timeout

Awesome Lists containing this project

README

        

A simple promise based timeout.

**Example**
```typescript
import { sleep } from '@stater/sleep';

await sleep(1000);
```