Constructor
new Manager(options)
- Source:
Parameters:
Name | Type | Description |
---|---|---|
options |
Object |
Members
timers :Object.<string, Array.<function()>>
- Source:
Type:
- Object.<string, Array.<function()>>
Methods
stopAllTimers()
- Source:
Stop all timers.
stopTimer(fn)
- Source:
Remove a timer associated with a function.
Parameters:
Name | Type | Description |
---|---|---|
fn |
function | Function whose timer is removed. note 'fn' may also be the name of the function. |