Timer handles are used to schedule callbacks to be called in the future.
uv_timer_t. See http://docs.libuv.org/en/v1.x/timer.html
Create and initialize a new wrapped
Get or set the repeat value in milliseconds. The timer will be scheduled to run on the given interval, regardless of the callback execution duration, and will follow normal timer semantics in the case of a time-slice overrun.
uv_timer_get_repeat exposed as a writable JS property.
Stop the timer, and if it is repeating restart it using the repeat value as the timeout. If the timer has never been started before it throws UV_EINVAL.
Request handle to be closed.
true if the handle referenced,
Reference the handle.
Start the timer. timeout and repeat are in milliseconds.
If timeout is zero, the callback fires on the next event loop iteration. If repeat is non-zero, the callback fires first after timeout milliseconds and then repeatedly after repeat milliseconds.
Stop the timer, the callback will not be called anymore.
Un-reference the handle.
Generated using TypeDoc