= 1.9.0)Swoole\Timer::after — Trigger a callback function after a period of time.說明public static Swoole\Timer::after(">

Swoole\Timer::after

(PECL swoole >= 1.9.0)

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

說明

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

Trigger a callback function after a period of time.

參數(shù)

after_time_ms

callback

返回值