Methods
(static) clearByID(_id)
Clear a timeout based on its ID
Parameters
Name | Type | Description |
---|---|---|
_id |
string | The timer ID |
(static) setByID(_id, _timeoutArgs)
Set a timeout and assign it an ID so that it can be easily cleared
Parameters
Name | Type | Description |
---|---|---|
_id |
string | The timer ID |
_timeoutArgs |
Array.<object> | An array of arguments, exactly as would be passed to a native |