Skip to main content

Interface: LowBalanceConfig

Defined in: javascript/src/manager.ts:100

Multi-level credits.low_balance configuration (WS7 — collapses the former lowBalanceThreshold / lowBalanceThresholds / onLowBalance trio into one option). Each threshold is edge-triggered once per descent and re-arms after a top-up (interface plan §6). When lowBalance is omitted entirely, the manager falls back to [minBalance * LOW_BALANCE_MULTIPLIER], resolved lazily against the loaded engine.

Properties

onTrigger?

optional onTrigger?: ((event) => void | Promise<void>) | null

Defined in: javascript/src/manager.ts:102


thresholds?

optional thresholds?: (number | Decimal)[] | null

Defined in: javascript/src/manager.ts:101