GraphQL Subscription using Absinthe
Over the last four months, I have been working on a project that helps architects to design strategies they need to optimize workspaces. We have used Elixir, Phoenix, and Absinthe to create a GraphQL API. Currently, we are interacting with this API by sending in queries and mutations. There is a third operation that can be implemented to receive near real-time updates of some server action in the clients of an application.
In this post, I’m going to discuss what GraphQL subscriptions are and how to implement them using Absinthe.