Throttler
public class Throttler
Undocumented
-
Undocumented
Declaration
Swift
public init(lastFire: TimeInterval = 0, currentWorkItem: DispatchWorkItem? = nil)
-
Undocumented
Declaration
Swift
public func throttle(delay: TimeInterval, queue: DispatchQueue = .main, action: @escaping (() -> Void)) -> () -> Void