Monitor
interface Monitor (View source)
Methods
Register a callback to be executed when a daemon queue is starting.
Register a callback to be executed on every iteration through the queue loop.
Register a callback to be executed when a job fails after the maximum number of retries.
Register a callback to be executed when a daemon queue is stopping.
Details
void
starting(mixed $callback)
Register a callback to be executed when a daemon queue is starting.
void
looping(mixed $callback)
Register a callback to be executed on every iteration through the queue loop.
void
failing(mixed $callback)
Register a callback to be executed when a job fails after the maximum number of retries.
void
stopping(mixed $callback)
Register a callback to be executed when a daemon queue is stopping.
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.