Remi's RPM repository - Packages

Blog | Forum | Repository | Wizard

php-react-event-loop - Event loop abstraction layer that libraries can use for evented I/O

Website:
https://reactphp.org/event-loop/
Licence:
MIT
Vendor:
Remi Collet
Description:
Event loop abstraction layer that libraries can use for evented I/O.

In order for async based libraries to be interoperable, they need to use
the same event loop. This component provides a common LoopInterface that
any library can target. This allows them to be used in the same loop, with
one single run call that is controlled by the user.

In addition to the interface there are some implementations provided:
* StreamSelectLoop: This is the only implementation which works out of the box
      with PHP. It does a simple select system call. It's not the most
      performant of loops, but still does the job quite well.
* LibEventLoop: This uses the libevent pecl extension. libevent itself supports
      a number of system-specific backends (epoll, kqueue).
* LibEvLoop: This uses the libev pecl extension (github). It supports the same
      backends as libevent.
* ExtEventLoop: This uses the event pecl extension. It supports the same
      backends as libevent.

All of the loops support these features:
* File descriptor polling
* One-off timers
* Periodic timers
* Deferred execution of callbacks

Autoloader: /usr/share/php/React/EventLoop/autoload.php

Packages

php-react-event-loop-0.5.2-1.remi.src [41 KiB] Changelog by Shawn Iwinski (2018-07-01):
- Update to 0.5.2 (RHBZ #1564315)
- Add range version dependencies for Fedora >= 27 || RHEL >= 8
- Add composer.json to repo
php-react-event-loop-0.4.3-1.remi.src [24 KiB] Changelog by Shawn Iwinski (2017-04-29):
- Update to 0.4.3 (RHBZ #1446188)
php-react-event-loop-0.4.2-2.remi.src [23 KiB] Changelog by Remi Collet (2017-01-24):
- backport for remi repo