v0.3.2
What's Changed
- Graceful shutdown —
Start()now handles SIGINT/SIGTERM, cleanly draining all contexts, stopping goroutines, closing SSE connections, and tearing down PubSub before exiting. - Bug fix —
stopAllRoutines()nowclose()s the channel instead of sending a single value, so all listening goroutines (not just one) are notified. - Public
Shutdown()method added for programmatic/test use.
Full Changelog: v0.3.1...v0.3.2