Set hook flags for coroutine

# Swoole\Runtime::setHookFlags

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

Swoole\Runtime::setHookFlags — Set hook flags for coroutine

### 说明

public static function Swoole\Runtime::setHookFlags(int `$flags`): bool

Sets the hook flags for coroutine support. This dynamically changes the hook flags at runtime.

### 参数

`flags`

  Bitmask of flags specifying which functions to hook. Same flags as enableCoroutine.

### 返回值

成功时返回 `true`， 或者在失败时返回 `false`。

`↑` and `↓` to navigate • `Enter` to select • `Esc` to close • `/` to open