Skip to content

Rulvar API reference


Rulvar API reference / @rulvar/rulvar / EffectBudgets

Interface: EffectBudgets

Defined in: packages/core/dist/index.d.ts

Recovery budgets recorded ON the intent (RFC section 3.1, item 2): every non-terminal state is bounded, and every exhaustion path lands in quarantined. reconcileBy is the overall deadline; crossing it in any non-terminal state quarantines with the state recorded.

Properties

PropertyTypeDescriptionDefined in
attemptsnumberDispatch attempts the intent may open, total.packages/core/dist/index.d.ts
authorizationWaitMs?numberHow long a compensation may wait for its own authorization, in milliseconds (RFC section 3.1, items 1 and 8); absent on effects that are not compensations.packages/core/dist/index.d.ts
lookupsnumberProvider lookups, bounded separately from dispatch attempts.packages/core/dist/index.d.ts
receiptWaitMsnumberHow long awaiting-receipt may wait, in milliseconds.packages/core/dist/index.d.ts
reconcileBystringISO instant: the overall reconcile deadline of the intent.packages/core/dist/index.d.ts