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

Method abort

e2e/cloud/mcp-sse-replay.test.ts:140–143  ·  view source on GitHub ↗
(reason: string)

Source from the content-addressed store, hash-verified

138 }
139
140 abort(reason: string): void {
141 this.abortController?.abort(reason);
142 this.reader?.cancel(reason).catch(() => undefined);
143 }
144
145 private async consume(): Promise<void> {
146 const reader = this.response.body?.getReader();

Callers

nothing calls this directly

Calls 2

abortMethod · 0.65
cancelMethod · 0.65

Tested by

no test coverage detected