ptachoire/parallelizer

This package is abandoned and no longer maintained. No replacement package was suggested.

Parallelizer for symfony process

1.0.0 2014-11-13 15:00 UTC

This package is not auto-updated.

Last update: 2022-02-01 12:41:54 UTC


README

Parallelizer to easily parallelize symfony processes

Install

composer install

Usage

use Parallelizer\Parallelizer;

// we want to run 2 processes in parallel
$parallelizer = new Parallelizer(2);

$parallelizer->add($processA, 'processA');
$parallelizer->add($processB, 'processB');
// ....

var_dump($parallelizer->run());

Test

phpunit

Credits

Project structure inspired by Negotiation by willdurand.

License

php-dmtx is released under the MIT License. See the bundled LICENSE file for details.