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

### Description

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

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.

### Return Values

Returns `true` on success or `false` on failure.

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