PHP - Manual: swoole_event_defer
2025-02-27
(PECL swoole >= 1.9.0)
swoole_event_defer — Add callback function to the next event loop
$callback
callback
成功时返回 true, 或者在失败时返回 false。
true
false
官方地址:https://www.php.net/manual/en/function.swoole-event-defer.php