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.
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
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.