Methods |
public
|
__construct(Closure $closure): void
Create a new queued closure event listener resolver.
Create a new queued closure event listener resolver.
|
#
|
public
|
onConnection(string|null $connection): $this
Set the desired connection for the job.
Set the desired connection for the job.
|
#
|
public
|
onQueue(string|null $queue): $this
Set the desired queue for the job.
Set the desired queue for the job.
|
#
|
public
|
delay(DateTimeInterface|DateInterval|int|null $delay): $this
Set the desired delay for the job.
Set the desired delay for the job.
|
#
|
public
|
catch(Closure $closure): $this
Specify a callback that should be invoked if the queued listener job fails.
Specify a callback that should be invoked if the queued listener job fails.
|
#
|
public
|
resolve(): Closure
Resolve the actual event listener callback.
Resolve the actual event listener callback.
|
#
|