The Swoole\Runtime class

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

Introduzione

Swoole\Runtime provides coroutine support for various PHP functions through hook mechanism, allowing synchronous code to work asynchronously in coroutine environment.

Sommario della classe

class Swoole\Runtime {
/* Metodi */
public static enableCoroutine(int $flags = SWOOLE_HOOK_ALL): void
public static getHookFlags(): int
public static setHookFlags(int $flags): bool
}

Indice dei contenuti