« Swoole\Redis\Server::start
Swoole\Runtime::enableCoroutine »

The Swoole\Runtime class

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

はじめに

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

クラス概要

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

目次

関連キーワード:
Swoole   Runtime   coroutine   flags   enableCoroutine   hook   static   functions   getHookFlags   setHookFlags   Redis   Server   support   allowing   synchronous   code   work   asynchronously   environment   Enable
関連する関数・ページ:
swoole-runtime.enable-coroutine   swoole-runtime.set-hook-flags   swoole-runtime.get-hook-flags   parallel-runtime.close   parallel-runtime.kill   swoole.setup