JcRepeatingTimer
public class JcRepeatingTimer
RepeatingTimer mimics the API of DispatchSourceTimer but in a way that prevents crashes that occur from calling resume multiple times on a timer that is already resumed (noted by https://github.com/SiftScience/sift-ios/issues/52
-
Undocumented
Declaration
Swift
public var timeInterval: TimeInterval
-
Undocumented
Declaration
Swift
public init(timeInterval: TimeInterval)
-
Undocumented
Declaration
Swift
public var eventHandler: (() -> Void)?
-
Undocumented
Declaration
Swift
public func resume()
-
Undocumented
Declaration
Swift
public func resume(_ timeInterval: TimeInterval)
-
Undocumented
Declaration
Swift
public func suspend()