Defining Subscription Fields
A subscription is declared in the GraphQL schema similarly to query and mutation root fields. The field represents an event stream rather than a single request.
For example, a messaging application might expose messageAdded, allowing clients to subscribe to new messages for a particular conversation.