IntervalScheduler

@objcMembers
public class IntervalScheduler : NSObject, Scheduler

IntervalScheduler calls the callback every intervalMs milliseconds.

  • Declaration

    Swift

    public init(intervalMs: Int, callback: @escaping () -> Void)
  • Declaration

    Swift

    public func start()
  • Declaration

    Swift

    public func stop()