Swoole\Event::defer

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

Swoole\Event::deferAdd a callback function to the next event loop.

Description

public static Swoole\Event::defer ( mixed $callback ) : void

Parameters

callback

Return Values