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

Method constructor

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

Calls 1

consumeMethod · 0.95

Tested by

no test coverage detected