Метод startParticipantDeadline
Сигнатура метода
public function startParticipantDeadline(ManagedAgentResourceType $participant, float $seconds): void
Возвращает:
void
Описание
Opens the own deadline of the participant that is starting to work, at most as long as the pass has left. Until a participant asks for one, its deadline is the deadline of the pass. The deadline is opened once for the whole stretch of work of that participant: a participant is entered with a reconciliation and then walks its registered rows one by one, so a call of the participant that already owns the deadline keeps it. A deadline every row reopens could never be reached at all, and the failure of a participant that waits for an external dependency in vain would never be reported.
Параметры
2| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$participant
|
ManagedAgentResourceType
|
—
|
—
|
$seconds
|
float
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulesbizproc/lib/Internal/AiAgent/Lifecycle/Cleanup/ManagedResourceCleanupBudget.php