PHP 8.1.0 Beta 1 available for testing

Swoole\Server::after

(PECL swoole >= 1.9.0)

Swoole\Server::afterTrigger a callback function after a period of time.

说明

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

参数

after_time_ms

callback

param

返回值

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top