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

Description

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

Parameters

ms

callback

param

Return Values