Registry / async / hyperf-coroutine

hyperf-coroutine

JSON →
library3.1.65phppackagistunverified

Hyperf Coroutine provides coroutine support for the Hyperf framework.

composer require hyperf/coroutine
INSTALL
IMPORT
SIG · HYPERF-COROUTINE
H
hyperf-coroutine
asyncphpv3.1.65
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\Coroutine\Coroutine;

Create and run a coroutine.

use Hyperf\Coroutine\Coroutine; Coroutine::create(function () { echo 'Hello from coroutine!'; });
Debug
Known issues
breakingRequires Swoole or Swow extension
fix
Install swoole (pecl install swoole) or swow extension.
affects: >=1.0
Upgrade
Version history
3.1.65latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

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