mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Convert renameFeed and renameFolder to async await.
This commit is contained in:
@@ -17,7 +17,8 @@ public protocol Renamable {
|
||||
/// - to: The new name for the object.
|
||||
/// - completion: A block called when the renaming completes or fails.
|
||||
/// - result: The result of the renaming.
|
||||
func rename(to: String, completion: @escaping (_ result: Result<Void, Error>) -> Void)
|
||||
|
||||
@MainActor func rename(to: String) async throws
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user