Versions in this module Expand all Collapse all v1 v1.0.0 Apr 6, 2023 Changes in this version + func AddEventListener(b *InProcBus, handler HandlerFuncT[T]) + type Bus interface + AddEventListener func(handler HandlerFunc) + Publish func(ctx context.Context, msg Msg) error + type HandlerFunc func(ctx context.Context, msg Msg) error + type HandlerFuncT func(ctx context.Context, msg T) error + type InProcBus struct + func ProvideBus() *InProcBus + func (b *InProcBus) Publish(ctx context.Context, msg Msg) error + type Msg = proto.Message