Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/stater/sleep
- Owner: stater
- License: mit
- Created: 2021-03-14T13:56:48.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-14T14:38:45.000Z (almost 4 years ago)
- Last Synced: 2024-12-27T16:02:25.155Z (28 days ago)
- Topics: sleep, timeout
- Language: TypeScript
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
A simple promise based timeout.
**Example**
```typescript
import { sleep } from '@stater/sleep';await sleep(1000);
```