⚠ Experimental ⚠
This feature may get big changes in future releases. Check the changelog for update notes.
Subscriptions allow GraphQL clients to observe specific events and receive updates from the server when those events occur. This supports live updates, such as websocket pushes. Subscriptions introduce several new concepts:
subscription is an entry point to your GraphQL schema, like
mutation. It is defined by your
SubscriptionType, a root-level
Read more in the Subscription Type guide.
After an event occurs in our application, triggers begin the update process by sending a name and payload to GraphQL.
Read more in the Triggers guide.
Besides the GraphQL component, your application must provide some subscription-related plumbing, for example: