async-bulkhead-llm — public API surface.
This entry point re-exports everything the package supports; the implementation lives in focused modules:
types.ts
errors.ts
LLMBulkheadRejectedError
profiles.ts
PROFILES
estimators.ts
extractTextLength
adaptive.ts
createAdaptiveTokenEstimator
dedup.ts
validation.ts
bulkhead.ts
createLLMBulkhead
Deep-importing the internal modules is not supported; the package exports map exposes only this entry point.
exports
Borrowed class concurrency slots returned before final settlement.
Admissions whose concurrency slot came from shared capacity.
Reservation tokens placed in shared capacity at admission time.
async-bulkhead-llm — public API surface.
This entry point re-exports everything the package supports; the implementation lives in focused modules:
types.ts— request/result/options/stats/event typeserrors.ts—LLMBulkheadRejectedErrorprofiles.ts—PROFILESpresetsestimators.ts— naive + model-aware estimators,extractTextLengthadaptive.ts—createAdaptiveTokenEstimator(v3.8)dedup.ts— deduplication internals (keying, share safety)validation.ts— internal numeric/estimate/usage guardsbulkhead.ts—createLLMBulkhead(admission, budget, events)Deep-importing the internal modules is not supported; the package
exportsmap exposes only this entry point.