npm.io
2.0.2 • Published 6 years ago

@lets/wait

Licence
MIT
Version
2.0.2
Deps
0
Size
2 kB
Vulns
0
Weekly
0
Stars
1

wait

A promising wait function

import wait from '@lets/wait';

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

Or as a promise

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

Keywords