MCPcopy Create free account
hub / github.com/BingyanStudio/github-analyzer / cancel

Function cancel

api/src/services/generateReport.ts:685–691  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

683 })();
684 },
685 cancel() {
686 console.log("Report generation cancelled");
687 // Async function in sync context, must be handled properly
688 clearReportGenerationPending(reportKey).catch((err) =>
689 console.error("Error clearing pending status on cancel:", err)
690 );
691 },
692 });
693
694 // Return the SSE response

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected