Swoole\Runtime::enableCoroutine

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

Swoole\Runtime::enableCoroutineEnable coroutine for specified functions

Beschreibung

public static Swoole\Runtime::enableCoroutine(int $flags = SWOOLE_HOOK_ALL): void

This method enables coroutine support for specified PHP functions based on the given flags. It should be called once at the beginning of the application.

Rückgabewerte

Es wird kein Wert zurückgegeben.