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.

Parameters

int $status
WorkerOptions|null $workerOptions
WorkerStopReason|null $reason

Return Value

void

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.