Aggregators type aliases
This is the collection of aggregators type aliases within the metrics
module. There are 4 aggregators type aliases in total.
Aggregate
The Aggregate type describes a custom function that takes an array of numbers and returns an aggregate that is used as a Metric
.
AggregateAdd
The AggregateAdd type describes a function that can be used to optimize a custom Aggregate by providing a shortcut for when a single value is added to the input values.
AggregateRemove
The AggregateRemove type describes a function that can be used to optimize a custom Aggregate by providing a shortcut for when a single value is removed from the input values.
AggregateReplace
The AggregateReplace type describes a function that can be used to optimize a custom Aggregate by providing a shortcut for when a single value in the input values is replaced with another.