Swoole\Timer
PHP Manual

Swoole\Timer::exists

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Description

public static boolean Swoole\Timer::exists ( integer $timer_id )

Check if a timer is existed.

Parameters

timer_id

Return Values


Swoole\Timer
PHP Manual