replacement

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Repositories *repository.Repositories
	Messenger    *taskengine.Messenger
	RetryPolicy  TaskRetryPolicy
	Scheduler    *taskengine.Scheduler
}

type Handler

type Handler struct {
	*taskengine.FuncHandler
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(deps Dependencies) (*Handler, error)

type TaskRetryPolicy

type TaskRetryPolicy interface {
	RetryableContext(context.Context, *model.Task) (bool, error)
	InspectRetryWithRepositories(context.Context, *repository.Repositories, *model.Task) error
}

Jump to

Keyboard shortcuts

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