Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Letting user kill a slow fetch request

    Hi there,

    Is there a conceivable way we could give a user a prompt that would give them the ability to cancel or kill a request. Sometimes a user will make a request that is taking too long and wants to just kill it. Obviously we may want to only give the user this option for fetch type requests and not add/update/delete requests. But, is it possible?

    #2
    You can use RPCManager.cancelQueue() for doing this, and you can customize the default Prompt (which is a Dialog) to add a Cancel button that calls this, although you will need to do some somewhat complete global tracking of what transactions have been submitted in order to figure out whether to offer the cancel button or not.

    Comment

    Working...
    X