略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: EvTimer::again

2024-11-15

EvTimer::again

(PECL ev >= 0.2.0)

EvTimer::againRestarts the timer watcher

说明

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

参数

此函数没有参数。

返回值

没有返回值。

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/evtimer.again.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3