mem

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2023 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 MemoryEventBus

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

func NewEventBus

func NewEventBus(capacity int) *MemoryEventBus

func (*MemoryEventBus) Dispatch

func (e *MemoryEventBus) Dispatch(ctx context.Context, evts ...*dddfirework.DomainEvent) error

func (*MemoryEventBus) RegisterEventHandler

func (e *MemoryEventBus) RegisterEventHandler(cb dddfirework.DomainEventHandler)

func (*MemoryEventBus) Start

func (e *MemoryEventBus) Start(ctx context.Context)

Jump to

Keyboard shortcuts

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