The Swoole\Runtime class

はじめに

Swoole\Runtime provides coroutine support for various PHP functions through hook mechanism, allowing synchronous code to work asynchronously in coroutine environment.

クラス概要

Swoole\Runtime
class Swoole\Runtime {
/* メソッド */
public static void enableCoroutine(int $flags = SWOOLE_HOOK_ALL)
public static int getHookFlags()
public static bool setHookFlags(int $flags)
}
目次