From f449a443d8e03bf4d18cfecc1616842b449b5662 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 16 Apr 2024 21:49:36 -0700 Subject: [PATCH] Remove unused code from Database module. --- Database/Sources/Database/Database.swift | 11 ----------- 1 file changed, 11 deletions(-) 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