ProducerClientExample::run

  1. Bitrix24 API (v. 23.675.0)
  2. calendar
  3. ProducerClientExample
  4. run
  • Модуль: calendar
  • Путь к файлу: ~/bitrix/modules/calendar/lib/core/queue/examples/producerclientexample.php
  • Класс: BitrixCalendarCoreQueueExamplesProducerClientExample
  • Вызов: ProducerClientExample::run
static function run()
{
	// it's only for example
	// in real cases rule should register in advance
	self::registerRule();

	$message = self::generateMessage();
	self::sendMessage($message);
}

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