re_exec

package
v1.0.16 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	DefaultMaxQueueLimit = 10000
	DefaultRetryInterval = "10m"
)

Variables

This section is empty.

Functions

func NewMemoryQueue

func NewMemoryQueue[T any](dic *di.Container, ctx context.Context, queueLimit int, retryInterval string, fun ReExecFunc[T]) common.Queue[T]

NewMemoryQueue is a factory method that returns an initialized ReExecQueue.

Types

type ReExecFunc

type ReExecFunc[T any] func(context.Context, *di.Container, T) bool

Jump to

Keyboard shortcuts

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