()
| 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 |
nothing calls this directly
no test coverage detected