Swoole\Runtime::setHookFlags
(No version information available, might only be in Git)
Swoole\Runtime::setHookFlags — Set hook flags for coroutine
Description
Sets the hook flags for coroutine support. This dynamically changes the hook flags at runtime.
Parameters
flags
Bitmask of flags specifying which functions to hook. Same flags as enableCoroutine.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
