StatsStore
Defined in: StatsStore.ts:12
Rolling-window statistics store backed by Float64Array ring buffers.
Implements
Section titled “Implements”StatsApi
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new StatsStore():
StatsStore
Returns
Section titled “Returns”StatsStore
Methods
Section titled “Methods”average()
Section titled “average()”average(
key):number
Defined in: StatsStore.ts:26
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”StatsApi.average
latest()
Section titled “latest()”latest(
key):number
Defined in: StatsStore.ts:35
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”StatsApi.latest
max(
key):number
Defined in: StatsStore.ts:53
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”StatsApi.max
min(
key):number
Defined in: StatsStore.ts:41
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”number
Implementation of
Section titled “Implementation of”StatsApi.min
push()
Section titled “push()”push(
key,value):void
Defined in: StatsStore.ts:15
Parameters
Section titled “Parameters”string
number
Returns
Section titled “Returns”void
Implementation of
Section titled “Implementation of”StatsApi.push