@lets/wait
Version:
⏲ A promising wait function
17 lines (12 loc) • 468 B
Markdown
wait [](https://www.npmjs.com/package/@lets/wait) [](https://github.com/omrilotan/wait) [](https://bundlephobia.com/result?p=@lets/wait)
# ⏲ A promising wait function
```js
import wait from '@lets/wait';
...
await wait(200);
...
```
Or as a promise
```js
wait(200).then(...);
```