Method
constructor
(
private readonly response: Response,
private readonly abortController?: AbortController,
)
Source from the content-addressed store, hash-verified
| 94 | readonly finished: Promise<void>; |
| 95 | |
| 96 | constructor( |
| 97 | private readonly response: Response, |
| 98 | private readonly abortController?: AbortController, |
| 99 | ) { |
| 100 | this.finished = this.consume(); |
| 101 | } |
| 102 | |
| 103 | waitForId(id: JsonRpcId, timeoutMs: number): Promise<JsonRpcMessage> { |
| 104 | const existing = this.messages.find((message) => message.id === id); |
Callers
nothing calls this directly
Tested by
no test coverage detected