swoole_timer_after

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

swoole_timer_afterTrigger a one time callback function in the future

说明

swoole_timer_after ( int $ms , callable $callback [, mixed $param ] ) : int

参数

ms

callback

param

返回值