HistoricalScheduler

public class HistoricalScheduler : VirtualTimeScheduler<HistoricalSchedulerTimeConverter>

Provides a virtual time scheduler that uses Date for absolute time and TimeInterval for relative time.

  • Creates a new historical scheduler with initial clock value.

    Declaration

    Swift

    public init(initialClock: RxTime = Date(timeIntervalSince1970: 0))

    Parameters

    initialClock

    Initial value for virtual clock.