Метод enterOperation

public

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

public function enterOperation(ManagedAgentIdentity $identity): void

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

Описание

Announces that the current lifecycle operation holds the logical lock of the identity, therefore the producers it calls reuse that lock instead of acquiring it again. Called by the orchestrator right after the lock is taken; {@see self::leaveOperation()} belongs to the same finally block that releases the lock.

Параметры

1
Имя Тип По умолчанию Флаги
$identity ManagedAgentIdentity —
—

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

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

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

Исходный код

PHP