timeout.es7
ES7 timeout.
What is this?
An async/await
ES7 implementation of setTimeout(delay) made with babel.
How can I install it?
npm install --save timeout.es7
How do I use it?
let timeout = require('timeout.es7');
console.log('Legen--Wait for it ...');
await timeout(2000);
console.log('... DARY! LEGENDARY!');
License
The MIT License (MIT) as found in LICENSE.md.
Made with ❤️ by @MarkTiedemann.