Waits for base concurrency and final LLM token settlement. After a borrowed slot deadline, an omitted timeout can remain pending until the detached callback settles; pass a timeout to bound the wait.
With stopOnTimeout, every request still running at the deadline is
stopped with cause drain_deadline, and the result reports how many.
It requires timeoutMs.
OptionaltimeoutMs: numberOptionaloptions: PoolDrainOptionsExact immutable reservation preview used by capacity-aware routing.
priorTokens marks the request as a follow-up to earlier provider-held
responses of that size. The amount is added to the reservation exactly,
after estimation, and the request is left out of adaptive calibration.
OptionaladmissionClass: stringOptionalpriorTokens: numberOptionalidentity: Readonly<
The pool's configured stop policy. Absent when it has none.