The Swoole\Runtime class

(No version information available, might only be in Git)

简介

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

类摘要

class Swoole\Runtime {
/* 方法 */
public static function enableCoroutine(int $flags = SWOOLE_HOOK_ALL): void
public static function getHookFlags(): int
public static function setHookFlags(int $flags): bool
}

目录

添加备注

用户贡献的备注

此页面尚无用户贡献的备注。
To Top