GraphQLSubscriptionEvent
public enum GraphQLSubscriptionEvent<T> where T : Decodable
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>)