MCPcopy Create free account
hub / github.com/github/copilot-sdk / pushCancel

Method pushCancel

nodejs/src/copilotRequestHandler.ts:513–517  ·  view source on GitHub ↗
(reason?: string)

Source from the content-addressed store, hash-verified

511 }
512
513 pushCancel(reason?: string): void {
514 this.#cancelled = true;
515 this.#abort.abort();
516 this.#push({ cancel: { reason } });
517 }
518
519 #push(item: BodyQueueItem): void {
520 this.#buffer.push(item);

Callers 1

routeChunkFunction · 0.45

Calls 2

#pushMethod · 0.95
abortMethod · 0.45

Tested by

no test coverage detected