« Swoole\Runtime
Swoole\Runtime::getHookFlags »

Swoole\Runtime::enableCoroutine

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

Swoole\Runtime::enableCoroutine — Enable coroutine for specified functions

説明

public static function 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.

戻り値

値を返しません。

関連キーワード:
Swoole   Runtime   flags   functions   coroutine   specified   Enable   enableCoroutine   getHookFlags   information   available   static   method   enables   support   based   given   called   once   beginning   application   Bitmask   specifying   hook   combined
関連する関数・ページ:
class.swoole-runtime   swoole-runtime.set-hook-flags   swoole-runtime.get-hook-flags   parallel-runtime.close   parallel-runtime.kill   parallel-runtime.construct