Метод continueLater

private

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

private function continueLater(string $operation, ManagedAgentIdentity $identity, ManagedAgentInstance $instance, ManagedResourceCleanupResult $result, bool $journaled): SystemAiAgentLifecycleResult

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

Описание

Saves the continuation of an unfinished pass and answers with the pending cleanup. A regular continuation of a bounded portion is assigned to the next run of the background pass and resets the sequence of errors: the pass really did a part of the work and the next one meets less of it. An outcome that {@see ManagedResourceCleanupResult::chargesRetryDelay()} is given the backoff instead, and only a failure stores the reason as the last error of the record, which is what tells the two apart. The pending cleanup is answered only after the state and the retry deadline were stored and reread successfully; a continuation whose durability is not confirmed is answered as a failed operation instead.

Параметры

5
Имя Тип По умолчанию Флаги
$operation string —
—
$identity ManagedAgentIdentity —
—
$instance ManagedAgentInstance —
—
$result ManagedResourceCleanupResult —
—
$journaled bool —
—

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

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

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

Исходный код

PHP