PHP 8.4.1 Released!

Swoole\Server::clearTimer

swoole_timer_clear

(PECL swoole >= 1.9.0)

Swoole\Server::clearTimer -- swoole_timer_clearStop and destroy a timer.

Description

Object-oriented style (method):

public Swoole\Server::clearTimer(int $timer_id): void

Procedural style:

swoole_timer_clear(int $timer_id): void

Stop and destroy a timer

Parameters

timer_id

Return Values

add a note

User Contributed Notes

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