CBPWorkflow :: ProcessQueuedEvents: Bitrix method

      
<?php 
//  CBPWorkflow :: ProcessQueuedEvents()
//  /dist/bitrix/modules/bizproc/classes/general/workflow.php:600

    
private function ProcessQueuedEvents()
    {
        while (
true)
        {
            
$arEvent array_shift($this->eventsQueue);
            if (
$arEvent == null)
                return;

            
$eventName $arEvent[0];
            
$arEventParameters $arEvent[1];

            
$this->ProcessQueuedEvent($eventName$arEventParameters);
        }
    }