(PHP 7, PECL swoole >= 2.0.0)
Swoole\Coroutine::call_user_func — Call a callback given by the first parameter
$callback
[, mixed $parameter
[, mixed $...
]] )
Calls the callback given by the first parameter and passes the remaining parameters as arguments.
callbackThe callable to be called.
parameterZero or more parameters to be passed to the callback.