There are some edge cases were promises need to be managed: invoking two fetches from the same collection requires aborting the first one (i.e. only have the last fetch in-flight).
It would be nice to have a collection / model instance cache promises and return them when appropriate. Or, abort previous promises.
I'm not sure which is the right solution at the moment. Will sit on it. Would appreciate thoughts / opinions.
There are some edge cases were promises need to be managed: invoking two
fetches from the same collection requires aborting the first one (i.e. only have the last fetch in-flight).It would be nice to have a collection / model instance cache promises and return them when appropriate. Or, abort previous promises.
I'm not sure which is the right solution at the moment. Will sit on it. Would appreciate thoughts / opinions.