platform/api/symfony/Component/Messenger/Handler/BatchHandlerInterface.yaml
2024-09-02 10:44:11 -07:00

20 lines
888 B
YAML

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: []