diff --git a/Database/Sources/Database/Database.swift b/Database/Sources/Database/Database.swift index 32572da94..e63d71220 100644 --- a/Database/Sources/Database/Database.swift +++ b/Database/Sources/Database/Database.swift @@ -11,14 +11,3 @@ import Foundation public enum DatabaseError: Error, Sendable { case suspended // On iOS, to support background refreshing, a database may be suspended. } - -// Compatibility — to be removed once we switch to structured concurrency - -/// Completion block that provides an optional DatabaseError. -public typealias DatabaseCompletionBlock = @Sendable (DatabaseError?) -> Void - -/// Result type for fetching an Int or getting a DatabaseError. -public typealias DatabaseIntResult = Result - -/// Completion block for DatabaseIntResult. -public typealias DatabaseIntCompletionBlock = @Sendable (DatabaseIntResult) -> Void