GraphQL Subscription
Noun · Development
Definitions
A GraphQL operation type for real-time data — clients subscribe to events and receive updates when the underlying data changes, typically over WebSocket. Like queries and mutations, subscriptions use the GraphQL type system, so the client specifies exactly which fields to receive in each update.
In plain English: A GraphQL feature that lets clients subscribe to real-time updates, receiving new data automatically when it changes.
Example: "subscription { messageAdded(channelId: "123") { text author { name } } } — the client gets new messages with only the fields it needs."