algo.Quota()
Description
Creates an instance of Quota.
Parameters
new algo.Quota(initialValue, options?)
initialValueoptions?
Initial quota. Must be a number.
Options including:
- produce - Number by which the quota increases each time it recovers.
- per - Time interval by which the quota recovers automatically. Can be a number in seconds or a string with one of the time unit suffixes such as 's', 'm' and 'h'.
Return Value
A Quota object with the specified initial quota.