Successful LLM admissions (slot + budget acquired).
Borrowed concurrency slots returned before upstream work settled.
Borrowed concurrency abandonments split by cause.
Capacity-holding LLM admissions that have not reached final settlement.
Total LLM-layer rejections.
LLM-layer rejections by reason.
Successful LLM releases via the wrapped LLM token.
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.