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 25
__construct(array $invokedProcesses)
Create a new invoked process pool.
at line 32
Collection
signal(int $signal)
Send a signal to each running process in the pool, returning the processes that were signalled.
at line 40
Collection
stop(float $timeout = 10, int|null $signal = null)
Stop all processes that are still running.
at line 80
Collection
running()
Get the processes in the pool that are still currently running.
at line 91
ProcessPoolResults
wait()
Wait for the processes to finish.
at line 116
int
count()
Get the total number of processes.
at line 126
Traversable
getIterator()
Get an iterator for the invoked processes.