rice-framework/krad-web/src/main/webapp/krad/scripts/krad.session.js
/**
 * Basic timer object that has a start, stop, and reset method
 *
 * @param action function that should be invoked when the timer completes
 * @param interval number of milliseconds before action should be triggered
 * @constructor
 */
Basic timer object that has a start, stop, and reset method

@param action function that should be invoked when the timer completes
@param interval number of milliseconds before action should be triggered
@constructor
Basic timer object that has a start stop and reset method @param action function that should be invoked when the timer completes @param interval number of milliseconds before action should be triggered @constructor
function KradTimer(action, interval) {
    this.action = action;
    this.interval = interval;
    this.start();
}
function KradTimer ( action , interval ) { this . action = action ; this . interval = interval ; this . start ( ) ; }
Basic timer object that has a start, stop, and reset method
Basic timer object that has a start stop and reset method