Метод leaveUnfinished

private static

Сигнатура метода

private static function leaveUnfinished(string $reason, ManagedResourceCleanupBudget $budget): ManagedResourceCleanupResult

Возвращает: ManagedResourceCleanupResult

Описание

The operation is left unfinished: a continuation until the deadline of the participant, a failure after. Both of them charge the retry delay - the bot is gone from neither of them - and what the deadline decides is whether the reason is stored as the last error of the instance as well.

Параметры

2
Имя Тип По умолчанию Флаги
$reason string —
—
$budget ManagedResourceCleanupBudget —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Cleanup/BotCleanup.php
Расположение метода в файле
Строки 478–487

Исходный код

PHP