On this page
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. |
|
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. |
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/10.x/Illuminate/Process/InvokedProcessPool.html