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 1bddd35 commit 257b70aCopy full SHA for 257b70a
messenger.rst
@@ -461,6 +461,11 @@ The first argument is the receiver's name (or service id if you routed to a
461
custom service). By default, the command will run forever: looking for new messages
462
on your transport and handling them. This command is called your "worker".
463
464
+.. versionadded:: 5.4
465
+
466
+ Throw an instance of :class:`Symfony\\Component\\Messenger\\Exception\\StopWorkerException`. to stop properly the worker.
467
468
469
Deploying to Production
470
~~~~~~~~~~~~~~~~~~~~~~~
471
0 commit comments