TimeInterval<T> constructor

TimeInterval<T>(
  1. T value,
  2. Duration interval
)

Constructs a snapshot of a Stream, containing the Stream's event at the specified interval as value.

Implementation

TimeInterval(this.value, this.interval);