Add a short duration (0.05 seconds) coalescing queue to AppDelegate for the rest of the app to use.
This commit is contained in:
parent
0951b525f1
commit
9e860321bd
|
@ -26,7 +26,8 @@ class AppDelegate: NSObject, NSApplicationDelegate, NSUserInterfaceValidations,
|
|||
var authorAvatarDownloader: AuthorAvatarDownloader!
|
||||
var feedIconDownloader: FeedIconDownloader!
|
||||
var appName: String!
|
||||
|
||||
var coalescingQueue = CoalescingQueue(name: "UI Queue", interval: 0.05)
|
||||
|
||||
@IBOutlet var debugMenuItem: NSMenuItem!
|
||||
@IBOutlet var sortByOldestArticleOnTopMenuItem: NSMenuItem!
|
||||
@IBOutlet var sortByNewestArticleOnTopMenuItem: NSMenuItem!
|
||||
|
|
Loading…
Reference in New Issue