ash v1.19.0 Ash.Notifier.Reconciler View Source
This module is a shim for future functionality.
Here is how it will work:
This module takes the result of a query, the query, an Ash.Notifier.Notification
,
and some configuration, and reconciles the event with that state. This will be usable
for things like cached data, phoenix liveviews, and keeping genserver state up to date.
Right now, they simply return :refetch
, which will be the instruction to rerun the query.
If this module ever isn't sure how to handle a notification, it will simply return :refetch
Over time, we can add smarter and smarter reconciliation, to reduce the cases where the data must be refetched.