Skip to content

Request management: cache/abort promises #78

@juanca

Description

@juanca

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions