diff --git a/GRDB/Core/Database.swift b/GRDB/Core/Database.swift index 982671172..bb1aba281 100644 --- a/GRDB/Core/Database.swift +++ b/GRDB/Core/Database.swift @@ -1720,7 +1720,7 @@ extension Database { // MARK: - Database-Related Types /// See BusyMode and - public typealias BusyCallback = (_ numberOfTries: Int) -> Bool + public typealias BusyCallback = @Sendable (_ numberOfTries: Int) -> Bool /// When there are several connections to a database, a connection may try /// to access the database while it is locked by another connection. @@ -1748,7 +1748,7 @@ extension Database { /// - /// - /// - - public enum BusyMode { + public enum BusyMode: Sendable { /// The `SQLITE_BUSY` error is immediately returned to the connection /// that tries to access the locked database. case immediateError