PHP Swoole\Server::defer()函数_用法及示例_PHP4,PHP5,PHP7,PHP8函数大全 - 汉王在线工具箱-好用的在线工具都在这里!
English | 简体中文 | 繁體中文
查询

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

「 在当前EventLoop结束时延迟回调函数的执行 」


适用版本(PECL swoole >= 1.9.0)

Swoole\Server::defer — 在当前EventLoop结束时延迟回调函数的执行。

说明
public Swoole\Server::defer(callable $callback): void

参数
callback
返回值
补充纠错
热门PHP函数
分享链接