The Swoole\Runtime class
(No version information available, might only be in Git)
Introduction
Swoole\Runtime provides coroutine support for various PHP functions through hook mechanism, allowing synchronous code to work asynchronously in coroutine environment.
Class synopsis
class Swoole\Runtime
{
/* Methods */
}Table of Contents
- Swoole\Runtime::enableCoroutine — Enable coroutine for specified functions
- Swoole\Runtime::getHookFlags — Get current hook flags
- Swoole\Runtime::setHookFlags — Set hook flags for coroutine
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
