Rx.HistoricalScheduler
Last updated
Was this helpful?
Last updated
Was this helpful?
Rx.HistoricalScheduler
classProvides a virtual time scheduler that uses a Date
for absolute time and time spans for relative time. This inherits from the Rx.VirtualTimeScheduler
class.
The following shows an example of using the Rx.HistoricalScheduler
. This shows creating a minute's worth of data from January 1st, 1970.
File:
Dist:
NPM Packages:
NuGet Packages:
Unit Tests:
HistoricalScheduler Constructor
##Rx.HistoricalScheduler([initialClock], [comparer])
Creates a new historical scheduler with the specified initial clock value.
[initialClock
] (Function): Initial value for the clock.
[comparer
] (Function): Comparer to determine causality of events based on absolute time.