platform/api/symfony/Component/Messenger/Handler/BatchHandlerInterface.yaml

21 lines
888 B
YAML
Raw Normal View History

2024-09-02 17:44:11 +00:00
name: BatchHandlerInterface
class_comment: null
dependencies: []
properties: []
methods:
- name: flush
visibility: public
parameters:
- name: force
comment: "# * @author Nicolas Grekas <p@tchwork.com>\n# */\n# interface BatchHandlerInterface\n\
# {\n# /**\n# * @param Acknowledger|null $ack The function to call to ack/nack\
\ the $message.\n# * The message should be handled\
\ synchronously when null.\n# *\n# * @return mixed The number of pending messages\
\ in the batch if $ack is not null,\n# * the result from handling\
\ the message otherwise\n# */\n# // public function __invoke(object $message,\
\ ?Acknowledger $ack = null): mixed;\n# \n# /**\n# * Flushes any pending buffers.\n\
# *\n# * @param bool $force Whether flushing is required; it can be skipped if\
\ not"
traits: []
interfaces: []