WorkerStopping
class WorkerStopping (View source)
Properties
| int | $status | The worker exit status. |
|
| WorkerOptions|null | $workerOptions | The worker options. |
|
| WorkerOptions|null | $reason | The reason why the worker is stopping. |
Methods
void
__construct(int $status = 0, WorkerOptions|null $workerOptions = null, WorkerStopReason|null $reason = null)
Create a new event instance.
Details
void
__construct(int $status = 0, WorkerOptions|null $workerOptions = null, WorkerStopReason|null $reason = null)
Create a new event instance.