The Swoole\Runtime class

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

Einführung

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

Klassenbeschreibung

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

Inhaltsverzeichnis