Search⌘ K
AI Features

Subscriptions Setting

Explore how to implement GraphQL subscription operations in Elixir using Absinthe and Phoenix. Learn to configure pub/sub, WebSockets, and channels to enable real-time data feeds and push updates to clients efficiently.

Subscription operations

GraphQL puts near real-time data, called subscription operations, at the same first-class level as queries or mutations. These subscriptions allow users to request data updates using the same semantics as any other GraphQL request and manage the life cycle of the data feed. Modern user interfaces using subscriptions can work with live data as a part of their normal conversation with a GraphQL server.

Setting up subscriptions

Subscriptions let a client submit a GraphQL document that ...