mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-02-01 19:46:56 +01:00
Remove unused code from Database module.
This commit is contained in:
parent
acd26f1a28
commit
f449a443d8
@ -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<Int, DatabaseError>
|
||||
|
||||
/// Completion block for DatabaseIntResult.
|
||||
public typealias DatabaseIntCompletionBlock = @Sendable (DatabaseIntResult) -> Void
|
||||
|
Loading…
x
Reference in New Issue
Block a user