react-native-nitro-sqliteInterfaces
ExecuteAsyncOptions
TypeScriptSource files: TypeScript
Options for asynchronous reads on a connection or prepared statement.
Properties
signal?
optional signal?: AbortSignal
Defined in: packages/react-native-nitro-sqlite/src/types.ts:192
Cancels this execution. When supplied, only read queries outside an explicit
transaction are allowed. Cancellation rejects with a SQLiteError of
type OperationCancelled, with signal.reason as its cause. A signal
supplied to writes, PRAGMAs, transaction commands, or load_extension()
rejects with SqlExecutionError. A read inside an explicit transaction
also rejects with SqlExecutionError and leaves that transaction intact.
An abort after native completion has no effect.