Monitor (Contracts)

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 amount 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.

Parameters

mixed $callback

Return Value

void

void failing(mixed $callback)

Register a callback to be executed when a job fails after the maximum amount of retries.

Parameters

mixed $callback

Return Value

void

void stopping(mixed $callback)

Register a callback to be executed when a daemon queue is stopping.

Parameters

mixed $callback

Return Value

void

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.3/Illuminate/Contracts/Queue/Monitor.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部