If multiple elements are received during each sampling period, SampleInterval will emit only the latest value. However, elements are never repeated: if no new elements are received between two sampling events, no notification will be emitted when the sampling period elapses.
Examples
Use SampleInterval to extract the latest element from a source sequence that is emitted within the specified time interval.
Related Operators
Use GateInterval to extract the first element from a source sequence that is emitted within the specified time interval.
Use Slice to extract elements based on element count instead of time.
Use Sample to extract elements based on notifications from another sequence.