(public readonly limit: number)
| 58 | /** Thrown by `dispatchHeadlessTask` when the concurrency cap is hit (→ HTTP 429). */ |
| 59 | export class HeadlessCapacityError extends Error { |
| 60 | constructor(public readonly limit: number) { |
| 61 | super(`headless capacity reached (${limit} tasks running)`); |
| 62 | this.name = 'HeadlessCapacityError'; |
| 63 | } |
| 64 | } |
| 65 | import { ScrollbackStore } from './scrollback-store.js'; |
| 66 | import { SessionPool, type SessionFactoryContext } from './session-pool.js'; |
nothing calls this directly
no outgoing calls
no test coverage detected