1.0.4 • Published 7 years ago
fork-timer v1.0.4
fork-timer
A timer that forks a process and emits an event.
Installation
Install by running npm install fork-timer --save
Usage
const Timeout = require('fork-timer');
const timeout = new Timeout(420);
timeout.once('complete', time => {
console.log("Your timeout is complete! It took: " + time + " milliseconds");
});