Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/core / windowSum

Function: windowSum()

ts
function windowSum(state): number;

Defined in: packages/core/src/admission/algorithms.ts:107

The trailing sum the cap bounds.

Parameters

ParameterType
stateSlidingWindowState

Returns

number