Method
constructor
(
private readonly response: Response,
private readonly abortController?: AbortController,
)
Source from the content-addressed store, hash-verified
| 84 | readonly finished: Promise<void>; |
| 85 | |
| 86 | constructor( |
| 87 | private readonly response: Response, |
| 88 | private readonly abortController?: AbortController, |
| 89 | ) { |
| 90 | this.finished = this.consume(); |
| 91 | } |
| 92 | |
| 93 | waitForId(id: string, timeoutMs: number): Promise<JsonRpcMessage> { |
| 94 | const existing = this.messages.find((message) => message.id === id); |
Callers
nothing calls this directly
Tested by
no test coverage detected