Stop and destroy a timer.

# Swoole\Server::clearTimer

# swoole_timer_clear

(PECL swoole >= 1.9.0)

Swoole\Server::clearTimer -- swoole_timer_clear — Stop and destroy a timer.

### Beschreibung

Objektorientierter Stil (method):

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

Prozeduraler Stil:

function swoole_timer_clear(int `$timer_id`): void

Stop and destroy a timer

### Parameter-Liste

`timer_id`

### Rückgabewerte

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open