synced-delay
v1.1.3
Published
Bad method to "pause" process
Downloads
44
Maintainers
Readme
Synced Delay
Bad method to "pause" process.
Install
npm i synced-delay
Usage
import {syncedDelay, SyncedDelayResultType} from 'synced-delay';
console.log(new Date()); // current date/time
syncedDelay(3000); // "pause" process for 3 seconds
console.log(new Date()); // current date/time, but plus 3 seconds
License
See license.