amp
amp copied to clipboard
A non-blocking concurrency framework for PHP applications. 🐘
I just got these warnings: ``` PHP Warning: uv_update_time(): passed UVLoop handle is already closed in .../vendor/amphp/amp/lib/Loop/UvDriver.php on line 193 PHP Warning: uv_now(): passed UVLoop handle is already closed in...
Hello, My point of view on amphp is that this project pushes always PHP limits further, and I love it. I think it's time to talk about a support of...
Hello i'm new to this project and don't really creating that much of github issues overall,so feel free to correct me. Is it posible to timeout processes written in standard...
``` EvLoop::io(): 9 bytes of buffered data lost during stream conversion!, /home/shared/vendor/amphp/amp/lib/Loop/EvDriver.php:253 ``` ``` $ pecl list Installed packages, channel pecl.php.net: ========================================= Package Version State ev 1.1.2 stable pq 2.1.8...
Hey, Has any thought been given to supporting phpstan/psalm generics e.g. ```php class Foo { /** * @return Promise */ public function wait(): Promise { // ... } } ```...
I believe Amp is the most important open source PHP library currently available. In a world where too many people are spending their time writing another HTTP router or MVC...
Code to reproduce (extension `uv.so` must be enabled): ```php use Amp\Parallel\Worker; use Amp\Promise; $urls = [ 'https://secure.php.net', 'https://amphp.org', 'https://github.com', ]; $promises = []; foreach ($urls as $url) { $promises[$url] =...
Ref #329 To be honest this could lend itself to its own `Uv` specific example file, but here's something that could work regardless of driver used. Again, downside is that...