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.

参数

after_time_ms

callback

返回值

User Contributed Notes

There are no user contributed notes for this page.
PHP8中文手册 站长在线 整理 版权归PHP文档组所有