Swoole\Runtime::setHookFlags

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

Swoole\Runtime::setHookFlagsSet hook flags for coroutine

Açıklama

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

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

Bağımsız Değişkenler

flags

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

Dönen Değerler

Başarı durumunda true, başarısızlık durumunda false döner.