InvokedProcessPool
class InvokedProcessPool implements Countable, IteratorAggregate
Methods
Create a new invoked process pool.
Send a signal to each running process in the pool, returning the processes that were signalled.
Stop all processes that are still running.
Get the processes in the pool that are still currently running.
Wait for the processes to finish.
Get the total number of processes.
Get an iterator for the invoked processes.
Details
at line 26
__construct(array $invokedProcesses)
Create a new invoked process pool.
at line 33
Collection
signal(int $signal)
Send a signal to each running process in the pool, returning the processes that were signalled.
at line 41
Collection
stop(float $timeout = 10, int|null $signal = null)
Stop all processes that are still running.
at line 81
Collection
running()
Get the processes in the pool that are still currently running.
at line 92
ProcessPoolResults
wait()
Wait for the processes to finish.
at line 117
int
count()
Get the total number of processes.
at line 127
Traversable
getIterator()
Get an iterator for the invoked processes.