fs2.timeseries

package fs2.timeseries

Members list

Type members

Classlikes

object TimeSeries

A time series is a stream of timestamped values or clock ticks.

A time series is a stream of timestamped values or clock ticks.

Values are represented as Some values in a TimeStamped[Option[A]], whereas clock ticks are represented as Nones. This encoding allows for an indication of time passage with no observed values.

Generally, time series appear in increasing order, and many combinators that work with time series will rely on that. For streams that are globally ordered, but not locally ordered, i.e., near adjacent values might be out of order but values at great distance from each other are ordered, consider using TimeStamped.reorderLocally to adjust.

Attributes

Source
TimeSeries.scala
Supertypes
class Object
trait Matchable
class Any
Self type
TimeSeries.type
case class TimeStamped[+A](time: FiniteDuration, value: A)

Wrapper that associates a time with a value.

Wrapper that associates a time with a value.

Attributes

Companion
object
Source
TimeStamped.scala
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object TimeStamped

Attributes

Companion
class
Source
TimeStamped.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type