GoLang Swoole\Coroutine::call_user_func

request it (308)
GoLang replacement for PHP's Swoole\Coroutine::call_user_func [edit | history]



Do you know a GoLang replacement for PHP's Swoole\Coroutine::call_user_func? Write it!

PHP Swoole\Coroutine::call_user_func

PHP original manual for Swoole\Coroutine::call_user_func [ show | php.net ]

Swoole\Coroutine::call_user_func

(PHP 7, PECL swoole >= 2.0.0)

Swoole\Coroutine::call_user_funcCall a callback given by the first parameter

Description

public static mixed Swoole\Coroutine::call_user_func ( callable $callback [, mixed $parameter [, mixed $... ]] )

Calls the callback given by the first parameter and passes the remaining parameters as arguments.

Parameters

callback

The callable to be called.

parameter

Zero or more parameters to be passed to the callback.

Return Values