rxthunder / react-php
提供事件驱动的I/O助手
1.0.0
2020-01-08 14:59 UTC
Requires
- php: ^7.4
- react/event-loop: ^1.1.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- phpstan/phpstan: ^0.12.0
- youdot/coding-standard: ^2.0
This package is auto-updated.
Last update: 2024-09-09 01:20:05 UTC
README
信息
与voryx/event-loop实现的不同之处在于,这个实现不会自动启动循环。
安装
composer install rxthunder/react-php
用法
use React\EventLoop\Factory; use RxThunder\ReactPHP\EventLoop; $ev = EventLoop::getLoop(); $other_ev = Factory::create(); EventLoop::setLoop($other_ev);