GraphQLSubscriptionEvent
public enum GraphQLSubscriptionEvent<T> where T : Decodable, T : Sendable
extension GraphQLSubscriptionEvent: Sendable
Event for subscription
-
The subscription’s connection state has changed.
Declaration
Swift
case connection(SubscriptionConnectionState) -
The subscription received data.
Declaration
Swift
case data(GraphQLResponse<T>)
View on GitHub