WindowedCallBudget

Builds a WindowedCallBudget. Stable Core. WindowedCallBudget(listOf(RateWindow("minute", 60, 1.minutes) { margin = 10 })) { maxQueued = 200 }; without the lambda every property has its default. The caller closes the budget; the budget never closes its store or observer.

Return

the budget.

Parameters

windows

the provider's windows: not empty, distinct names.

configure

assigns the properties to change.

Throws

if a window list or a number is outside its range; the message names the property and never a value.