internal

package
v0.10.102 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrStopLoop = errors.New("stop run loop")

Functions

This section is empty.

Types

type Wrapper

type Wrapper interface {
	RunLoop(run.Fn) run.Fn
	Run(run.Fn) run.Fn
	Close(run.Fn) run.Fn
	IsClosed(...context.Context) bool
}

func NewWrapper

func NewWrapper(opts ...WrapperOption) (Wrapper, error)

type WrapperOption

type WrapperOption c.Option[wrapper]

func WithWrapperLogger

func WithWrapperLogger(logger *zap.Logger) WrapperOption

Jump to

Keyboard shortcuts

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