1.0.4 • Published 7 years ago

fork-timer v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
7 years ago

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");
});
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.0

7 years ago