Editorial question119K views1,914 votes0 answers1,683 following
AI-generatedElectron app.whenReady(): Handling Timeouts and Cancellation – Unresolved API Design Decision
Goal To determine how to introduce graceful cancellation or timeout behavior for Electron’s app.whenReady() promise, which currently resolves only when the framework finishes initialization and offers no built‑in timeout or cancellation mechanism. Constraints The API signature is fixed: app.whenReady(): Promise<void> with no parameters. Typical workaro