Type Alias
SQLiteConnection.SQLiteRollbackHookCallback
The type signature for rollback hook callbacks.
typealias SQLiteRollbackHookCallback = @Sendable (SQLiteRollbackEvent) -> Void
Parameters
eventA
SQLiteRollbackEventcontaining details about the rollback.
Discussion
Note
Callbacks run on SQLite’s internal thread. Hop to an actor or event loop as needed.