InvokedProcessPool
class InvokedProcessPool implements Countable (View source)
Properties
protected array | $invokedProcesses | The array of invoked processes. |
Methods
void
__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
void
__construct(array $invokedProcesses)
Create a new invoked process pool.
Collection
signal(int $signal)
Send a signal to each running process in the pool, returning the processes that were signalled.
Collection
stop(float $timeout = 10, int|null $signal = null)
Stop all processes that are still running.
Collection
running()
Get the processes in the pool that are still currently running.
ProcessPoolResults
wait()
Wait for the processes to finish.
int
count()
Get the total number of processes.