StrategyDict is a Map that holds all the available Strategies by their name.
__STRATEGIES_MAP is a constant that holds a reference to all the available strategies by name.
averageStrategy calculates the average of a list of numbers
list of numbers to average.
createAPIServer returns an http.Server configured to respond to the coalesce endpoint.
The list of external APIs to interact with.
maxStrategy calculate the max from a list of numbers.
list of numbers from which to pick the max.
minStrategy calculates the min from a list of numbers.
list of numbers from which to pick the min.
sumStrategy calculates the sum of a list of numbers.
list of numbers to sum.
Generated using TypeDoc
StrategyFunc is any function that can coalesce a list of numbers to one.