Andriy Babak Posted March 26, 2020 Report Share Posted March 26, 2020 Is it possible to query the server asynchronously with the ability to cancel the (possibly) long-running query before it's done? Say I initiate a search but then the user corrects the query string and I want to be able to cancel the running query and restart the new search immediately. Thank you. Andriy Link to comment Share on other sites More sharing options...
PeterH Posted April 27, 2020 Report Share Posted April 27, 2020 You could perform the connection and query in a thread (or process), so if the user makes an amendment, just terminate the thread and spawn a new one. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now