CollectLimits
CollectLimits =
object
Defined in: packages/xray/src/measure.ts:553
Collect-stage size limits (ADR 0022): refuse to capture a boundary whose measured tree exceeds
any axis. maxNodes caps the total surviving-node count; maxBreadth the widest level (most
nodes at any one depth); maxDepth the nesting depth. Each axis is enforced only when its cap is
defined. The defaults and the maxNodes = round(maxBreadth × maxDepth / 4) derivation live in
the client (where the other defaults live); this core only enforces what it is handed.
Properties
Section titled “Properties”maxBreadth?
Section titled “maxBreadth?”
optionalmaxBreadth?:number
Defined in: packages/xray/src/measure.ts:555
maxDepth?
Section titled “maxDepth?”
optionalmaxDepth?:number
Defined in: packages/xray/src/measure.ts:556
maxNodes?
Section titled “maxNodes?”
optionalmaxNodes?:number
Defined in: packages/xray/src/measure.ts:554
