Lines Matching refs:timer
12 Timers invoke the callback after a certain time has elapsed since the timer was
26 will start a repeating timer, which first starts 5 seconds (the ``timeout``) after the execution
33 to stop the timer. This can be used safely from within the callback as well.
37 uv_timer_set_repeat(uv_timer_t *timer, int64_t repeat);
40 a timer callback, it means:
42 * If the timer was non-repeating, the timer has already been stopped. Use
44 * If the timer is repeating, the next timeout has already been scheduled, so
45 the old repeat interval will be used once more before the timer switches to
52 applies **only to repeating timers** and is equivalent to stopping the timer
54 old ``repeat`` value. If the timer hasn't been started it fails (error code
57 An actual timer example is in the :ref:`reference count section
80 other watchers are done. In that case just unref the timer immediately after
88 .. rubric:: ref-timer/main.c
89 .. literalinclude:: ../../code/ref-timer/main.c
95 We initialize the garbage collector timer, then immediately ``unref`` it.
251 things are set in motion. This simply starts a libuv `timer <#timers>`_ which
285 The first thing we do is to stop the timer, since there has been some progress