can-connect
can-connect copied to clipboard
Fixes #133, creates API for Maps and Lists for consistent data checking
trafficstars
For #133:
If can/map is being used alongside fall-through-cache, new attributes will be added to Maps and Lists.
isConsistent()will return true if the data is actively in sync with the data from the server, false if it's relying onfall-back-cache's cached data.inconsistencyReasonwill return the base connection's rejected promise error, should there be one.
Thanks @imjoshdean. Please let me know if you have any thoughts about this stuff.
Thoughts provided inline!
@justinbmeyer this is waiting review.