InvokedProcessPool
class InvokedProcessPool implements Countable
Methods
__construct(array $invokedProcesses)
Create a new invoked process pool.
signal(int $signal)
Send a signal to each running process in the pool, returning the processes that were signalled.
stop(float $timeout = 10, int|null $signal = null)
Stop all processes that are still running.
running()
Get the processes in the pool that are still currently running.
wait()
Wait for the processes to finish.
int
count()
Get the total number of processes.
Details
at line 19
__construct(array $invokedProcesses)
Create a new invoked process pool.
at line 26
Collection
signal(int $signal)
Send a signal to each running process in the pool, returning the processes that were signalled.
at line 34
Collection
stop(float $timeout = 10, int|null $signal = null)
Stop all processes that are still running.
at line 74
Collection
running()
Get the processes in the pool that are still currently running.
at line 83
ProcessPoolResults
wait()
Wait for the processes to finish.
at line 108
int
count()
Get the total number of processes.