Releases: graze/parallel-process
Releases · graze/parallel-process
PriorityPool Tweaks
PriorityPool
- [BC] New Pool:
PriorityPoolthat supports:- priority for each run
- maximum number of processes to run at a time
Poolhas become simpler, and just runs all child runs at the same time- [BC]
max simultaneousoption has been moved toPriorityPool
- [BC]
- new event:
SUCCESSFULonly gets triggered when the run succeeds.- [BC] event:
COMPLETEwill get triggered for failed runs now too.
- [BC] event:
- Adds
PoolLoggerto write everything that happens to each pool and run.
Callback Runner
- Adds a
CallbackRunto run some php code. Note this will not be asynchronous.
Events
Quick Quick!
Allows pools to be run instantly (as soon as any process is added, and always run from then on)
:up: add support for symfony v4
0.5.1 Composer: allow Symfony 4 (#14)
lines lines lines
- Adds
Linesclass to show the output of all the processes as they happen in-line. - Modifies the callback definition (backwards compatible) to allow the type of each output from the process.
- Every output from the process is sent via callback now.
- Added flags to determine if
onProgressshould be on call process output or process poll or both.
Max-Sims
Display Each Process Output
- Adds
Table::setShowOutputflag to display the last line from each process - Updates
graze/console-diff-rendererto format before generating the diff
Support OuputInterface
Change the Table class to use OutputInterface instead of ConsoleOutputInterface