class WorkerStopping (View source)

Properties

int $status

The worker exit status.

WorkerOptions|null $workerOptions

The worker options.

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
WorkerOptions|null $workerOptions

Return Value

void