src/Execution.php
public function findConcurrentExecutions(Node $node = null)
    {
        if ($this->parentExecution === null) {
            return [];
        }
        
        return array_filter($this->parentExecution->findChildExecutions($node), function (Execution $execution) {
            return $execution->isConcurrent();
        });
    }
public function findConcurrentExecutions(Node $node = null)
    {
        if ($this->parentExecution === null) {
            return [];
        }
        
        return array_filter($this->parentExecution->findChildExecutions($node), function (Execution $execution) {
            return $execution->isConcurrent();
        });
    }
Find all concurrent executions (e.g. any execution runs "in parallel" to this execution).

@param Node $node Optional filter, return only executions that have arrived at the given node.
@return array<Execution> All matching concurrent executions.