The shape of messages passed to next() from a graphql subscription. E.g.,
constsub = client.graphql({ query:onCreateWidget, }).subscribe({ // // |-- You are here // v next(message: GraphqlSubscriptionMessage<OnCreateWidgetSubscription>) { handle(message.value); // <-- type OnCreateWidgetSubscription } })
The shape of messages passed to
next()
from a graphql subscription. E.g.,