Skip to content

FunctionTracker

FunctionTracker computes the actual cost of evaluating a function with the given arguments and result.

cost(options): number | undefined

cost returns the invocation cost, or undefined to defer to the estimator and standard rules.

FunctionCostOptions

number | undefined