EvTimer::again
PHP function
Edit on GitHub ✎
(PECL ev >= 0.2.0)
Restarts the timer watcher
Description
EvTimer::again(): void
This will act as if the timer timed out and restart it again if it is repeating. The exact semantics are:
- if the timer is pending, its pending status is cleared.
- if the timer is started but non-repeating, stop it (as if it timed out).
- if the timer is repeating, either start it if necessary (with the
repeatvalue), or reset the running timer to therepeatvalue.
Parameters Parameters
Return Values
Void
See Also
EvWatcher::stop