Swoole\Timer
PHP Manual

Swoole\Timer::after

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

Swoole\Timer::afterTrigger a callback function after a period of time.

Description

public static void Swoole\Timer::after ( int $after_time_ms , callable $callback )

Trigger a callback function after a period of time.

Liste de paramètres

after_time_ms

callback

Valeurs de retour


Swoole\Timer
PHP Manual