Skip to content

cancelling remote update #4

@agrath

Description

@agrath

While not strictly an issue with datasource, from within my source function, I issue an ajax request to the server. This may only take a few moments to complete.
However, if a new request is issued (by the parameters changing before the first request comes back) then the results can be applied to the target observable in the wrong order - so you end up with a result that does not match your last update.

The only solution I can think of is to return a handle of some kind from the source function and ensure that only the last issued handle is the one that can update the _target

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions