publisher

package
v0.11.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DomainEventPublisher

type DomainEventPublisher struct {
	// contains filtered or unexported fields
}

func NewDomainEventPublisher

func NewDomainEventPublisher(
	log logr.Logger,
) *DomainEventPublisher

func (*DomainEventPublisher) Publish

func (d *DomainEventPublisher) Publish(events ...base.DomainEvent)

func (*DomainEventPublisher) RegisterListeners

func (d *DomainEventPublisher) RegisterListeners(
	domainEventListeners ...events.DomainEventListener[base.DomainEvent],
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL