class Illuminate / Process / InvokedProcessPool

InvokedProcessPool

Implements

Properties

protected

$invokedProcesses array

The array of invoked processes.

Default: null

Methods

public

__construct ( array $invokedProcesses ) : void

Create a new invoked process pool.

Parameters

  • $invokedProcesses array
public

signal ( int $signal ) : Illuminate\...\Collection

Send a signal to each running process in the pool, returning the processes that were signalled.

Parameters

  • $signal int
public

running ( ) : Illuminate\...\Collection

Get the processes in the pool that are still currently running.

public

wait ( ) : ProcessPoolResults

Wait for the processes to finish.

public

count ( ) : int

Get the total number of processes.