rxjs / latest / api / index / interface / timestamp.html

Timestamp

interface stable

A value and the time at which it was emitted.

interface Timestamp<T> {
  value: T
  timestamp: number
}

Description

Emitted by the timestamp operator

Properties

Property Type Description
value T
timestamp number

The timestamp. By default, this is in epoch milliseconds. Could vary based on the timestamp provider passed to the operator.

See Also

© 2015–2022 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/Timestamp