We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819e7f2 commit 027f32aCopy full SHA for 027f32a
scheduler.rst
@@ -662,7 +662,7 @@ being transferred and processed by its handler::
662
return $this->schedule ??= (new Schedule())
663
->with(
664
// ...
665
- );
+ )
666
->before(function(PreRunEvent $event) {
667
$message = $event->getMessage();
668
$messageContext = $event->getMessageContext();
@@ -675,13 +675,13 @@ being transferred and processed by its handler::
675
676
// allow to call the ShouldCancel() and avoid the message to be handled
677
$event->shouldCancel(true);
678
- }
+ })
679
->after(function(PostRunEvent $event) {
680
// Do what you want
681
682
->onFailure(function(FailureEvent $event) {
683
684
+ });
685
}
686
687
0 commit comments