sql-js / sql.js

A javascript library to run SQLite on the web.
http://sql.js.org
Other
12.55k stars 1.05k forks source link

[Feature Request] Support for sqlite3_interrupt #545

Open troygibb opened 1 year ago

troygibb commented 1 year ago

Hey sql.js maintainers! Thanks so much for this great software, we've been getting great milage out of it!

It sounds like it's possible to add sqlite3_interrupt support based on your discussion in #461, it just hasn't been prioritized. We've implemented the suggested workaround of killing and re-instantiating the worker, but obviously it would be a lot more performant if we surgically interrupted queries.

Is this feature on your radar? Any idea of how much work it would involve? Thanks in advance!

kaizhu256 commented 1 year ago