API reference › @evolu/sqlite-wasm › c-api › sqlite3_interrupt
function sqlite3_interrupt(deps: SqliteWasmDep): (db: SqliteDbPtr) => void;
Defined in: packages/sqlite-wasm/src/CApi.ts:1301
Stops the connection's running statements, and statements started before they all finish, at their earliest opportunity with SQLITE_INTERRUPT; an interrupted write in an explicit transaction rolls the transaction back. With no running statement it does nothing.
Wasm type v(i). Signature ["sqlite3_interrupt", undefined, "sqlite3*"]
from SQLite's table.