Skip to content

pvoisin/hortator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM Version Build Status Coverage Status

Hortator

Simple clock that cares about time... but doesn't really care about your business!

"Hortator" is a Latin word which, in the Old Rome, designated the slave runner who was giving rowing beats on the Roman triremes to communicate to the slave rowers the speed the captain wanted.

Usage

var Clock = require("hortator");

var clock = new Clock({period: 0.5}); // seconds

clock.on("tick", function(tickTime, delay) {
	/* do your business */
});

clock.start();

// ...

clock.stop();

About

Simple clock that cares about time... but doesn't really care about your business!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published