Create CoalescingQueue.standard, a shared instance.
This commit is contained in:
parent
64647c73c6
commit
3a94cf9a51
|
@ -38,6 +38,7 @@ struct QueueCall: Equatable {
|
|||
|
||||
@objc public final class CoalescingQueue: NSObject {
|
||||
|
||||
public static let standard = CoalescingQueue(name: "Standard")
|
||||
public let name: String
|
||||
private let interval: TimeInterval
|
||||
private var timer: Timer? = nil
|
||||
|
|
Loading…
Reference in New Issue