메소드 |
설명 |
|
createPromise ( callable $resolver ) : GraphQL\Executor\Promise\Promise |
Creates a Promise |
|
createPromiseAll ( mixed $promisesOrValues ) : GraphQL\Executor\Promise\Promise |
Given an array of promises, return a promise that is fulfilled when all the
items in the array are fulfilled. |
|
createRejectedPromise ( mixed $reason ) : GraphQL\Executor\Promise\Promise |
Creates a rejected promise for a reason if the reason is not a promise. If
the provided reason is a promise, then it is returned as-is. |
|
createResolvedPromise ( mixed $promiseOrValue = null ) : GraphQL\Executor\Promise\Promise |
Creates a full filed Promise for a value if the value is not a promise. |
|
isPromise ( mixed $value ) : boolean |
Return true if value is promise |
|