Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupEventHandler ¶
type GroupEventHandler = cqrs.GroupEventHandler
func NewGroupEventHandler ¶
func NewGroupEventHandler[T any](handleFunc func(ctx context.Context, event *T) error) GroupEventHandler
type NoPublishingHandler ¶
type NoPublishingHandler struct {
// contains filtered or unexported fields
}
func NewNoPublishingHandler ¶
func NewNoPublishingHandler(marshaler cqrs.CommandEventMarshaler, metricMeter metric.Meter, groupHandlers ...GroupEventHandler) (*NoPublishingHandler, error)
NewNoPublishingHandler creates a NoPublishHandlerFunc that will handle events with the provided GroupEventHandlers.
func (*NoPublishingHandler) AddHandler ¶
func (h *NoPublishingHandler) AddHandler(handler GroupEventHandler)
Click to show internal directories.
Click to hide internal directories.