0.0.0 • Published 1 year ago

@nichoth/sleep v0.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

sleep

tests dependencies types module license

Wait for a given number of milliseconds, with promises.

install

npm i -S @nichoth/sleep

example

import { sleep } from '@nichoth/sleep'
await sleep(1000)  // wait 1 second
0.0.0

1 year ago