epimorphics / qonsole

A simple console for running SPARQL queries and displaying results
Other
16 stars 2 forks source link

Allow cancelling of long-running requests #24

Closed paperclipmonkey closed 6 years ago

paperclipmonkey commented 6 years ago

The user should be able to cancel long running queries so they can rewrite them

paperclipmonkey commented 6 years ago

Axios and Superagent both support cancellation of long-running queries using either an action or timeout

paperclipmonkey commented 6 years ago

Fixed by keeping ahold of the superagent promise and cancelling the query if called whilst still running