English | 简体中文 | 繁體中文
查询

Swoole\Server::after()函数—用法及示例

「 在一段时间后触发回调函数 」


适用版本(PECL swoole >= 1.9.0)

Swoole\Server::after — 在一段时间后触发回调函数。

说明
public Swoole\Server::after(int $after_time_ms, callable $callback, string $param = ?): ReturnType

参数
after_time_ms
callback
param
返回值
补充纠错
上一个函数: Swoole\Server::bind()函数
热门PHP函数
分享链接