Метод cancelChildFlow

private

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

private function cancelChildFlow(): bool

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

Описание

Takes the chain of children down with the node when the node itself is cancelled in the middle of that chain: the children are cancelled and the closing of the node waits for them, which is how a composite activity has always ended a cancelled branch ({@see CBPSequenceActivity::cancel()}). The drained queue brings the node back to its marking, this time with nothing left to wait for. A node running no chain has an empty queue and pays one comparison: closing over a child that is still running is what the guard of the closing point refuses ("ActiveChildExist"), and the refusal would take the whole process down instead of the one branch being cancelled.

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

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

Путь к исходному файлу Source
~/bitrix/modulesbizproc/classes/general/activity.php
Расположение метода в файле
Строки 2084–2111

Исходный код

PHP