Swoole\Runtime::setHookFlags
PHP function
Edit on GitHub ✎
Set hook flags for coroutine
Description
Swoole\Runtime::setHookFlags(int $flags): bool
Sets the hook flags for coroutine support. This dynamically changes the hook flags at runtime.
Parameters
flagsBitmask of flags specifying which functions to hook. Same flags as enableCoroutine.
Return Values
Success