Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit257b70a

Browse files
committed
[Messenger] Document StopWorkerException
1 parent1bddd35 commit257b70a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎messenger.rst‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -461,6 +461,11 @@ The first argument is the receiver's name (or service id if you routed to a
461461
custom service). By default, the command will run forever: looking for new messages
462462
on your transport and handling them. This command is called your "worker".
463463

464+
..versionadded::5.4
465+
466+
Throw an instance of:class:`Symfony\\Component\\Messenger\\Exception\\StopWorkerException`. to stop properly the worker.
467+
468+
464469
Deploying to Production
465470
~~~~~~~~~~~~~~~~~~~~~~~
466471

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp