API ReferenceType Aliases
ThrottleConfig
Type Alias: ThrottleConfig
type ThrottleConfig = {
rules: ThrottleRule[];
};Defined in: transport/throttle.ts:130
Throttle configuration accepted by SnapcapClient's throttle option.
Remarks
Pass directly for per-instance throttling, or wrap with createSharedThrottle for cross-instance coordination.
See
- RECOMMENDED_THROTTLE_RULES — curated starter rules
- createSharedThrottle
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
rules | ThrottleRule[] | Ordered list of rules. First-match wins per outbound URL — order specific rules before general ones. | transport/throttle.ts:135 |