Skip to content

Type Alias

SQLiteConnection.SQLiteRollbackHookCallback

The type signature for rollback hook callbacks.
typealias SQLiteRollbackHookCallback = @Sendable (SQLiteRollbackEvent) -> Void

Parameters

event

A SQLiteRollbackEvent containing details about the rollback.

Discussion

Note

Callbacks run on SQLite’s internal thread. Hop to an actor or event loop as needed.