GoLang EvTimer::again

request it (136)
GoLang replacement for PHP's EvTimer::again [edit | history]



Do you know a GoLang replacement for PHP's EvTimer::again? Write it!

PHP EvTimer::again

PHP original manual for EvTimer::again [ show | php.net ]

EvTimer::again

(PECL ev >= 0.2.0)

EvTimer::againRestarts the timer watcher

Description

public void EvTimer::again ( void )

This will act as if the timer timed out and restart it again if it is repeating. The exact semantics are:

  1. if the timer is pending, its pending status is cleared.

  2. if the timer is started but non-repeating, stop it (as if it timed out).

  3. if the timer is repeating, either start it if necessary (with the repeat value), or reset the running timer to the repeat value.

Parameters

This function has no parameters.

Return Values

No value is returned.

See Also