Swoole\Runtime::setHookFlags
(No version information available, might only be in Git)
Swoole\Runtime::setHookFlags — Set hook flags for coroutine
Description
public static function Swoole\Runtime::setHookFlags(
int $flags):
bool
Parameters
flags
-
Bitmask of flags specifying which functions to hook. Same flags as enableCoroutine.
Return Values
Returns true on success or false on failure.