MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / constructor

Method constructor

e2e/cloud/mcp-sse-replay.test.ts:96–101  ·  view source on GitHub ↗
(
    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

Calls 1

consumeMethod · 0.95

Tested by

no test coverage detected