Rx.HistoricalScheduler
Rx.HistoricalScheduler
class
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.
Usage ##
The following shows an example of using the Rx.HistoricalScheduler
. This shows creating a minute's worth of data from January 1st, 1970.
Location
File:
Dist:
NPM Packages:
NuGet Packages:
Unit Tests:
HistoricalScheduler Constructor
##
HistoricalScheduler Constructor
##Inherited Classes ##
HistoricalScheduler Constructor ##
Rx.HistoricalScheduler([initialClock], [comparer])
Rx.HistoricalScheduler([initialClock], [comparer])
Creates a new historical scheduler with the specified initial clock value.
Arguments
[
initialClock
] (Function): Initial value for the clock.[
comparer
] (Function): Comparer to determine causality of events based on absolute time.
Example
Last updated