Метод streamBotCodes
Сигнатура метода
private function streamBotCodes(array $templateIds): Generator
Возвращает:
Generator
Описание
Streams per-template resolved bot codes. Iterator yields one batch per chunk, so memory stays bounded even when the caller deletes hundreds of agents at once.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$templateIds
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulesbizproc/lib/Internal/Service/AiAgentGrid/AgentChatbotsExtractor.php
Расположение метода в файле
Строки
88–112