Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/store-conformance / QuotaLimiterConstructor

Type Alias: QuotaLimiterConstructor

ts
type QuotaLimiterConstructor = (rules) => unknown;

Defined in: packages/store-conformance/src/quota-rules.ts:21

Constructs a limiter over the given rules; the suite closes whatever it returns (a close method is called and awaited when present), so factories may open real resources for the negative control.

Parameters

ParameterType
rulesreadonly QuotaRule[]

Returns

unknown