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 を返します。

οΌ‹add a note

User Contributed Notes

There are no user contributed notes for this page.