We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 67c1933 commit ed10b74Copy full SHA for ed10b74
1 file changed
docs/handlers.rst
@@ -14,12 +14,13 @@ figure out how to deal with each message appropriately.
14
15
An object that can handle (process or act upon) a single message.
16
17
- .. php:method:: handle(PMG\\Queue\\Message $handle, array $options=[])
+ .. php:method:: handle(object $message, array $options=[])
18
19
- :param $handle: The message to handle.
+ :param $message: The message to handle.
20
:param $options: A set of options from the consumer.
21
- :return: A boolean indicating whether the message was handled successfully.
22
- :rtype: boolean
+ :return: A promise resolving to a boolean indicating whether the message
+ was handled successfully.
23
+ :rtype: PromiseInterface
24
25
26
Callable Handler
0 commit comments