delay-sync
This npm library provides a synchronous delay function for specified milliseconds
Install
$ npm install delay-sync
Usage
const delay = require('delay-sync');
delay(5000); // Delay of 5 seconds
This npm library provides a synchronous delay function for specified milliseconds
$ npm install delay-sync
const delay = require('delay-sync');
delay(5000); // Delay of 5 seconds
npm i delay-sync
2
1.0.2
MIT
1.11 kB
3