Atheosv.1.0
Atheosv.1.0 Web Based, Cloud IDE

The Chronometer Module

The Chronometer Module sets global intervals that are published through Amplify subscriptions; allowing the client browser to only have a select few Intervals running while providing plugins the ability to use timed events.


Chronometer Methods:

init()

This method sets three seperate interval timers in motion that publish named Amplify events at specific intervals that other modules can subscribe to using Amplify.

function example() {
    amplify.subscribe('chrono.kilo', function() {
        console.log("This will log every 1 second");
    }
    amplify.subscribe('chrono.mega', function() {
        console.log("This will log every 10 second");
    }
    amplify.subscribe('chrono.giga', function() {
        console.log("This will log every 100 second");
    }    
}