faastjs > CostMetric > cost
CostMetric.cost() method
The cost contribution of this cost metric. Equal to CostMetric.pricing * CostMetric.measured.
Signature:
cost(): number;
Returns:
number
faastjs > CostMetric > cost
The cost contribution of this cost metric. Equal to CostMetric.pricing * CostMetric.measured.
Signature:
cost(): number;
Returns:
number