dev-master
9999999-dev
MIT
The Requires
The Development Requires
by Anderson Danilo
v1.0.0
1.0.0.0
MIT
The Requires
The Development Requires
by Anderson Danilo
PHP Process Pool is a simple process pool using symfony process, (*2)
use ProcessPool\ProcessPool; use Symfony\Component\Process\Process; function processGenerator($count) { for ($i = 0; $i < 10; $i++) { yield new Process(['sleep', $i]); } } $processes = processGenerator(10); $pool = new ProcessPool($processes); $pool->setConcurrency(2); $pool->wait();
MIT
MIT