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