I need help. How can I implement the following in the elixir:

I use
Absinthe.Subscription.publish to inform subscribers of changes. How do I tell those subscribers who were offline at the time? After the network is restored, these changes are also included in the subscription.

My name:Yurii

Hi Yurii,

The implementation of Absinthe subscriptions that exists today requires that the subscriber is constantly connected. When the subscriber disconnects, their subscriptions are discarded. Your client should, when they come back on line, re-subscribe, and then do a query to get the current state of the things you care about.

EDIT: By the way @Velychkanych is this in the right spot on the forum? It sounds more like a question than a job offer.

5 Likes