callWeight

Parameters

callWeight

A function to calculate the weight of a call for rate limiting. The weight determines how many permits a call consumes.