Skip to main content

Interface: OperationPolicy

Defined in: javascript/src/types.ts:170

Per-operation financial-safety policy (interface plan §1).

Resolved per call as: explicit arg → PlanDefinition.perOperation[type] → plan default → the manager's constructor preset. maxConcurrent bounds the number of simultaneously-active leases for an operation type; overdraftFloor (only meaningful when billingMode === "overdraft") is the negative balance floor admission is allowed down to.

Properties

billingMode

billingMode: BillingMode

Defined in: javascript/src/types.ts:171


maxConcurrent?

optional maxConcurrent?: number | null

Defined in: javascript/src/types.ts:172


overdraftFloor?

optional overdraftFloor?: Decimal | null

Defined in: javascript/src/types.ts:173