This function returns a Promise of an ExperimentalExecuteIncrementallyResults
object. This object either contains a single ExecutionResult as
singleResult, or an initialResult and a stream of subsequentResults.
If the arguments to this function do not result in a legal execution context,
a GraphQLError will be thrown immediately explaining the invalid input.
Implements the “Executing requests” section of the GraphQL specification, including
@defer
and@stream
as proposed in https://github.com/graphql/graphql-spec/pull/742This function returns a Promise of an ExperimentalExecuteIncrementallyResults object. This object either contains a single ExecutionResult as
singleResult
, or aninitialResult
and a stream ofsubsequentResults
.If the arguments to this function do not result in a legal execution context, a GraphQLError will be thrown immediately explaining the invalid input.