Registry / async / hyperf-engine

hyperf-engine

JSON →
library2.15.0phppackagistunverified

Coroutine engine provided by Swoole for the Hyperf framework.

composer require hyperf/engine
INSTALL
IMPORT
SIG · HYPERF-ENGINE
H
hyperf-engine
asyncphpv2.15.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Coroutine
use Hyperf\Engine\Coroutine;

Create and execute a coroutine using Hyperf Engine.

use Hyperf\Engine\Coroutine; $coroutine = new Coroutine(function () { echo 'Hello from coroutine!'; }); $coroutine->execute();
Debug
Known issues
breakingRequires Swoole extension installed and enabled.
fix
Install the Swoole PHP extension (pecl install swoole).
affects: >=2.0.0
Upgrade
Version history
2.15.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
Resources
hyperf-engine — pip install hyperf-engine · libregistry