mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Convert functions in CloudKitAccountDelegate to async await.
This commit is contained in:
@@ -63,6 +63,10 @@ public extension Notification.Name {
|
||||
numberOfTasks = numberOfTasks + n
|
||||
}
|
||||
|
||||
public func addTask() {
|
||||
addToNumberOfTasks(1)
|
||||
}
|
||||
|
||||
public func addToNumberOfTasksAndRemaining(_ n: Int) {
|
||||
assert(Thread.isMainThread)
|
||||
numberOfTasks = numberOfTasks + n
|
||||
|
||||
Reference in New Issue
Block a user