class WorkerStopping (View source)

Methods

void
__construct(int $status = 0, WorkerOptions|null $workerOptions = null)

Create a new event instance.

Details

void __construct(int $status = 0, WorkerOptions|null $workerOptions = null)

Create a new event instance.

Parameters

int $status

The worker exit status.

WorkerOptions|null $workerOptions

The worker options.

Return Value

void