Monitor
interface Monitor (View source)
Methods
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.
Details
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.