Versions in this module Expand all Collapse all v0 v0.2.16 Jan 21, 2026 Changes in this version + type Event interface + EventID func() string + EventName func() string + Timestamp func() time.Time + type EventBus interface + Start func(ctx context.Context) error + Stop func(ctx context.Context) error + type EventHandler func(ctx context.Context, event Event) error + type Publisher interface + Publish func(ctx context.Context, event Event) error + type Subscriber interface + Subscribe func(ctx context.Context, eventName string, handler EventHandler) error + Unsubscribe func(ctx context.Context, eventName string, handler EventHandler) error