Swoole\Runtime::enableCoroutine

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

Swoole\Runtime::enableCoroutineEnable coroutine for specified functions

说明

public static Swoole\Runtime::enableCoroutine(int $flags = SWOOLE_HOOK_ALL): void

This method enables coroutine support for specified PHP functions based on the given flags. It should be called once at the beginning of the application.

返回值

没有返回值。

添加备注

用户贡献的备注

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