Create CoalescingQueue.standard, a shared instance.

This commit is contained in:
Brent Simmons 2018-02-17 17:42:57 -08:00
parent 64647c73c6
commit 3a94cf9a51
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ struct QueueCall: Equatable {
@objc public final class CoalescingQueue: NSObject { @objc public final class CoalescingQueue: NSObject {
public static let standard = CoalescingQueue(name: "Standard")
public let name: String public let name: String
private let interval: TimeInterval private let interval: TimeInterval
private var timer: Timer? = nil private var timer: Timer? = nil