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

createResolvedPromise() public method

public createResolvedPromise ( $promiseOrValue = null ) : FulfilledPromise
return React\Promise\FulfilledPromise
    public function createResolvedPromise($promiseOrValue = null)
    {
        return \React\Promise\resolve($promiseOrValue);
    }