Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<Swoole\Connection\Iterator::validSwoole\Coroutine::call_user_func>
^SwooleLast updated: Mon, 26 Oct 2026

The Swoole\Coroutine class

(PECL swoole >= 2.0.0)

Introduction

Class synopsis

class Swoole\Coroutine {
/* Methods */
public static function call_user_func(callable $callback, mixed ...$args): mixed
public static function call_user_func_array(callable $callback, array $param_array): mixed
public static function cli_wait(): ReturnType
public static function create(): ReturnType
public static function getuid(): ReturnType
public static function resume(): ReturnType
public static function suspend(): ReturnType
}

Table of Contents


<Swoole\Connection\Iterator::validSwoole\Coroutine::call_user_func>
^SwooleLast updated: Mon, 26 Oct 2026