1.0.0 • Published 2 years ago
async-pause v1.0.0
async-pause
Asynchronous pause
How to install
npm install async-pause
How to use
import { asyncPause } from 'async-pause'
(async () => {
console.log('foo');
await asyncPause(1000);
console.log('bar'); // Will be executed after a second
})();