« EvTimer
EvTimer::__construct »

EvTimer::again

(PECL ev >= 0.2.0)

EvTimer::again — Restarts the timer watcher

説明

public function 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.

パラメータ

この関数にはパラメータはありません。

戻り値

値を返しません。

参考

関連キーワード:
timer   EvTimer   watcher   again   Restarts   repeating   timed   pending   stop   repeat   construct   restart   exact   semantics   status   cleared   started   start   necessary   reset   running   参考   EvWatcher   Stops
関連する関数・ページ:
evtimer.createstopped   class.evtimer   evloop.timer   evtimer.set   evtimer.construct   function.swoole-timer-exists