recoil / react
Integrate Recoil with ReactPHP.
Installs: 219 426
Dependents: 17
Suggesters: 1
Security: 0
Stars: 32
Watchers: 5
Forks: 3
Open Issues: 2
Requires
- php: >=7.4
- react/event-loop: ^1.0 || ^0.5 || ^0.4
- react/promise: ^2
- recoil/api: ^1.0.2
- recoil/kernel: ^1
Requires (Dev)
- eloquent/phony: ^5
- friendsofphp/php-cs-fixer: ^2
- hamcrest/hamcrest-php: ^2
- peridot-php/leo: dev-php-8 as 1.999.999
- peridot-php/peridot: dev-php-8 as 1.999.999
- peridot-php/peridot-code-coverage-reporters: dev-php-8 as 2.999.999
- recoil/dev: ^0.4
This package is auto-updated.
Last update: 2024-12-06 20:45:13 UTC
README
Integrate Recoil with ReactPHP.
composer require recoil/react
This repository provides a Recoil kernel implemented on top of the ReactPHP event loop, allowing cooperative execution of Recoil and ReactPHP applications.
ReactPHP promises can be yielded from a coroutine as though they were a native Recoil coroutine.