Dutch PHP Conference 2027

Swoole\Timer::exists

(PECL swoole >= 1.9.0)

Swoole\Timer::existsCheck if a timer is existed.

Açıklama

public static function Swoole\Timer::exists(int $timer_id): bool

Checks whether a timer with the given ID exists in the current process.

Bağımsız Değişkenler

timer_id

The timer ID returned by Swoole\Timer::tick() or Swoole\Timer::after().

Dönen Değerler

Returns true if a timer with this ID exists in the current process, false otherwise.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top