Replayer
Replayer is used to replay historical data with timestamps in a new, in-memory table.
Syntax
Parameters
| Parameter | Type | Description |
|---|---|---|
| startTime | DateTime | Historical data start time |
| endTime | DateTime | Historical data end time. |
Returns
A Replayer object that can be used to replay historical data.
Methods
Replayer supports the following methods:
replay()- Prepares a historical table for replaying.start()- Starts replaying data.shutdown()- Shuts the replayer down.
Example
The following example creates some fake historical data with timestamps and then replays it.