worker

package
v5.0.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrTooEarlyForStateAssociation = fmt.Errorf("too early for state association")

ErrTooEarlyForStateAssociation is returned when state data arrives before entity is registered

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	EntityCache   *cache.EntityCache
	MarkerCache   *cache.MarkerCache
	LogManager    *logging.SlogManager
	ParserService parser.Service
}

Dependencies holds all dependencies for the worker manager

type Manager

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

Manager manages worker goroutines

func NewManager

func NewManager(deps Dependencies, backend storage.Backend) *Manager

NewManager creates a new worker manager

func (*Manager) RegisterHandlers

func (m *Manager) RegisterHandlers(d *dispatcher.Dispatcher)

RegisterHandlers registers all event handlers with the dispatcher.

Jump to

Keyboard shortcuts

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