Swoole\Timer->exists

Declaration

<?php
Swoole\Timer->exists (int $timer_id)

Parameters

timer_id

Timer ID

Return

success

if success, it returns TRUE, otherwise it returns FALSE.

Description

Check if a timer is still exists by Timer ID.

Example