PushDelayedConnectionAgent::getConsumer

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. PushDelayedConnectionAgent
  4. getConsumer
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/queue/agent/pushdelayedconnectionagent.php
  • Класс: BitrixCalendarCoreQueueAgentPushDelayedConnectionAgent
  • Вызов: PushDelayedConnectionAgent::getConsumer
protected function getConsumer(): InterfacesConsumer
{
	$queue = (new QueueFactory())->getById(QueueRegistry::QUEUE_LIST['DelayedSyncConnection']);

	return new ConsumerGroupHash($queue);
}

Добавить комментарий