mirror of
https://github.com/danog/amp.git
synced 2024-11-27 04:24:42 +01:00
2ff42636aa
If there are immediates generated in immediates, they have to wait until next tick - which may only be triggered in far future or never, depending on if there are other read/writeWatchers or timers So, now just do a single event run without blocking if there are new immediates generated during immediates execution |
||
---|---|---|
examples | ||
lib | ||
test | ||
.gitignore | ||
CHANGELOG.md | ||
composer.json | ||
CONTRIBUTORS.md | ||
LICENSE | ||
phpunit.xml | ||
README.md |
Amp
Amp is a non-blocking concurrency framework for PHP applications
Dependencies
- PHP 5.5+
Optional PHP extensions may be used to improve performance in production environments and react to process control signals:
- php-uv extension for libuv backends
- pecl/libevent for libevent backends (download Windows .dll)
Installation
$ git clone https://github.com/amphp/amp.git
$ cd amp
$ composer.phar install
Community
If you have questions stop by the amp chat channel on Gitter.
The Guide
We've compiled all the information necessary to write concurrent applications using Amp in the Guide.