Server IP : 80.87.202.40 / Your IP : 216.73.216.169 Web Server : Apache System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64 User : bitrix ( 600) PHP Version : 8.2.27 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/bitrix/ext_www/ilovecveti.ru/bitrix/modules/calendar/lib/core/queue/interfaces/ |
Upload File : |
<?php namespace Bitrix\Calendar\Core\Queue\Interfaces; interface Consumer { /** * Gets the Queue associated with this queue receiver. */ public function getQueue(): Queue; /** * Receives the next message that arrives within the specified timeout interval. * This call blocks until a message arrives, the timeout expires, or this message consumer is closed. * A timeout of zero never expires, and the call blocks indefinitely. * * Timeout is in milliseconds */ public function receive(): ?Message; /** * Tell the MQ broker that the message was processed successfully. */ public function acknowledge(Message $message): void; /** * Tell the MQ broker that the message was rejected. */ public function reject(Message $message, bool $requeue = false): void; }