tursodatabase / libsql

libSQL is a fork of SQLite that is both Open Source, and Open Contributions.
https://turso.tech/libsql
MIT License
9.54k stars 252 forks source link

cancel query when request is dropped #1644

Closed MarinPostma closed 1 month ago

MarinPostma commented 1 month ago

This PR implements cancelling a query when the underlying request is dropped. This is done by adding a progress handler to the connection that checks every 100 instruction if the request has been dropped.