Skip to content

RxThunder/ReactPHP

Repository files navigation

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);