3 ms·
Subscriptions?
by AzzieElbab 9y ago
Subscriptions?
- matt-smith 9y agoSubscriptions are available through the ‘absinthe_phoenix’ (https://github.com/absinthe-graphql/absinthe_phoenix https://github.com/absinthe-graphql/absinthe_phoenix) library as an add-on to the Phoenix Framework’s channels. It’s a pretty robust solution and its maintainers Ben & Bruce are very helpful on Slack.
- brwcodes 9y ago(Bruce Williams, Absinthe's co-creator here). Subscriptions are part of our v1.4 release (currently in rc, stable release imminent). We support subscriptions both over Phoenix Channels and normal HTTP (Server-Sent Events)—it's built to be rather extensible. We did a talk at ElixirConf recently that illustrates some of the design decisions and motivations: https://www.youtube.com/watch?v=PEckzwggd78 https://www.youtube.com/watch?v=PEckzwggd78