Skip to content

rulvar API reference


rulvar API reference / @rulvar/store-conformance / leasableStoreConformance

Function: leasableStoreConformance()

ts
function leasableStoreConformance(mk, options?): ConformanceSuite;

Defined in: packages/store-conformance/src/leasable.ts:55

Parameters

ParameterTypeDescription
mkStoreFactory<LeasableStore>-
options?{ ttlMs?: number; }-
options.ttlMs?numberThe store's configured lease TTL, when known: enables the wall-clock expiry and renew-keeps-held checks.

Returns

ConformanceSuite