Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@lets/wait

omrilotan1.2kMIT2.0.2

⏲ A promising wait function

wait, sleep, async, await, promise,

readme

wait

⏲ A promising wait function

import wait from '@lets/wait';

...
await wait(200);
...

Or as a promise

wait(200).then(...);