Timer( id, interval, state )
constructor
Create a new Timer.
Arguments
Name | Type | Description |
---|---|---|
id | String | Identifier for the new Timer |
interval | Number | Interval at which to call the function |
state | Timer.State | Initial state of the timer |
Returns
Type | Description |
---|---|
Timer | The new Timer |