GraphQL\Executor\Promise\Adapter\ReactPromiseAdapter::createPromiseAll PHP Method

createPromiseAll() public method

Given an array of promises, return a promise that is fulfilled when all the items in the array are fulfilled.
public createPromiseAll ( mixed $promisesOrValues ) : mixed
$promisesOrValues mixed Promises or values.
return mixed a Promise
    public function createPromiseAll($promisesOrValues)
    {
        return \React\Promise\all($promisesOrValues);
    }