Registry / async / revolt-event-loop

revolt-event-loop

JSON →
library1.0.9phppackagistunverified

Rock-solid event loop for concurrent PHP applications.

composer require revolt/event-loop
INSTALL
IMPORT
SIG · REVOLT-EVENT-LOOP
R
revolt-event-loop
asyncphpv1.0.9
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.

EventLoop
use Revolt\EventLoop;

Runs a deferred callback using the event loop.

use Revolt\EventLoop; EventLoop::defer(function () { echo "Hello, world!\n"; }); EventLoop::run();
Debug
Known issues
gotchaRequires PHP 8.1+ and ext-ffi or ext-uv for optimal performance.
fix
Ensure PHP 8.1+ and install recommended extensions.
affects: >=1.0
Upgrade
Version history
1.0.9latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources