Is there a way to stop all server side queries if there is a loop?
I was creating cursor based pagination query and I made a mistake where i went into an endless loop for some reason. Eventually I exited the app and re-entered but in order to be a good citizen on a SaaS app, I wanted to:
- make sure exiting the app destroyed any in process services and memory
- find out if there is an elegant way to halt the program interactively
Thanks