Swoole\Coroutine::call_user_func
(PECL swoole >= 2.0.0)
Swoole\Coroutine::call_user_func — Call a callback given by the first parameter
Description
public static function Swoole\Coroutine::call_user_func(
callable $callback,
mixed ...$args):
mixed
Parameters
callback
-
The callable to be called.
args
-
Zero or more parameters to be passed to the callback.