swoole_event_defer

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

swoole_event_deferAdd callback function to the next event loop

Description

swoole_event_defer ( callable $callback ) : bool

Parameters

callback

Return Values

Returns TRUE on success or FALSE on failure.