TimeInterval

interface stable

A value emitted and the amount of time since the last value was emitted.

interface TimeInterval<T> {
  value: T
  interval: number
}

Description

Emitted by the timeInterval operator.

Properties

Property Type Description
value T
interval number

The amount of time between this value's emission and the previous value's emission. If this is the first emitted value, then it will be the amount of time since subscription started.

See Also

© 2015–2021 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors.
Code licensed under an Apache-2.0 License. Documentation licensed under CC BY 4.0.
https://rxjs.dev/api/index/interface/TimeInterval