UNPKG
@amxdev/sleep
Version:
latest (1.0.0)
1.0.0
Pause execution for specified milliseconds.
@amxdev/sleep
/
README.md
22 lines
(13 loc)
•
236 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#
@amxdev
/sleep
>
Pause
execution
for
specified milliseconds.
## Install
``
`bash npm install @amxdev/sleep `
``
## Usage
``
`ts import { sleep } from "@amxdev/sleep"; sleep(await sleep(1000); // waits 1 second) `
``
## License
MIT