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-10-09 01:35:22 UTC


README

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