You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also use amphp/react-adapter + amphp/amp, which will give you an ev based implementation – if ev is installed – that is fully compatible with ReactPHP's LoopInterface.
$driver = (newAmp\Loop\DriverFactory)->create();
$loop = newAmp\ReactAdapter\ReactAdapter($driver);
// $loop is now a ReactPHP compatible driver based on ext-ev
If you don't want the automatic driver selection based on the available extensions, you can also instantiate a driver on your own using $driver = new Amp\Loop\EvDriver;.
https://pecl.php.net/package/ev
http://docs.php.net/ev
any plans/ideas about implement adapter for this librarty?
The text was updated successfully, but these errors were encountered: