Swoole\Server
PHP Manual

Swoole\Server::defer

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

Swoole\Server::deferDelay execution of the callback function at the end of current EventLoop.

Description

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

Parameters

callback

Return Values


Swoole\Server
PHP Manual