go/pkg
Snider bde8d4c7cc feat: lifecycle context — Core.Context() for cooperative shutdown
- Core holds context.Context + CancelFunc
- New() creates background context
- ServiceStartup creates fresh context from caller's ctx (restart safe)
- ServiceShutdown cancels context before draining tasks
- c.Context() accessor lets task handlers check Done() for graceful exit

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-20 17:59:43 +00:00
..
core feat: lifecycle context — Core.Context() for cooperative shutdown 2026-03-20 17:59:43 +00:00