Initializergraphqlswift.graphql 3.0.0GraphQL
init(stream:errors:)
GraphQL.swift:51init(stream: SubscriptionEventStream? = nil, errors: [GraphQLError] = [])
init(stream: SubscriptionEventStream? = nil, errors: [GraphQLError] = [])
s7GraphQL18SubscriptionResultV6stream6errorsAcA11EventStreamCy7NIOCore0G10LoopFutureCyAA0A8QLResultVGGSg_SayAA0A7QLErrorVGtcfc
What are these?
FNV24: [93QFE]
import GraphQL
struct SubscriptionResult
SubscriptionResult wraps the observable and error data returned by the subscribe request.
typealias SubscriptionEventStream = EventStream<Future<GraphQLResult>>
SubscriptionObservable represents an event stream of fully resolved GraphQL subscription results. Subscribers can be added to this stream.
struct GraphQLError
A GraphQLError describes an Error found during the parse, validate, or execute phases of performing a GraphQL operation. In addition to a message it also includes information about the locations in a GraphQL document and/or execution result that correspond to the error.
let errors: [GraphQLError]
let stream: SubscriptionEventStream?