Encounter the same issue. If the query takes too long, we really want to cancel it. How to do it?
deferred object has the cancel() method, but it's not related to the query callback function
The execute* methods all return dojo/Deferred so you might be able to call cancel() on the deferred object...
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.