Commit graph

2 commits

Author SHA1 Message Date
Claude
4628b2b094
feat(events): add Close() method to ChannelEmitter
Allows consumers to signal the drain goroutine to stop by closing
the underlying channel. Used by CLI dispatch watch cleanup.

Co-Authored-By: Charon <charon@lethean.io>
2026-02-20 12:46:48 +00:00
Claude
a29ded5159
feat(events): Phase 8 — event hooks for task lifecycle and quota notifications
EventEmitter interface with ChannelEmitter (buffered, non-blocking) and
MultiEmitter (fan-out). Wired into Dispatcher (5 event types) and
AllowanceService (3 event types). 20 new tests, all passing under -race.

Co-Authored-By: Charon <charon@lethean.io>
2026-02-20 12:02:30 +00:00