rxthunder/react-php

Provide helpers for evented I/O

1.0.0 2020-01-08 14:59 UTC

This package is auto-updated.

Last update: 2024-04-09 00:26:49 UTC


README

thunder-logo.svg

Latest Stable Version Total Downloads License

Build

Infos

The difference with voryx/event-loop implementation is that this one doesn't start automatically the loop.

Installation

composer install rxthunder/react-php

Usage

use React\EventLoop\Factory;
use RxThunder\ReactPHP\EventLoop;

$ev = EventLoop::getLoop();

$other_ev = Factory::create();
EventLoop::setLoop($other_ev);