swoole_timer_after

PECL swoole >= 1.9.0
swoole_timer_after - Trigger a one time callback function in the future
Manual

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

Parameters

ms

callback

param

Return Values