unmanaged

package
v2.0.9 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Internal package with the implementation of a discipline that does not manage data according to their priority.

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrFalseError = errors.New("false error")
)

Functions

This section is empty.

Types

type Discipline

type Discipline[Type any] struct {
	// contains filtered or unexported fields
}

func New

func New[Type any](opts Opts[Type]) (*Discipline[Type], error)

func (*Discipline[Type]) Err

func (dsc *Discipline[Type]) Err() <-chan error

func (*Discipline[Type]) Output

func (dsc *Discipline[Type]) Output() <-chan types.Prioritized[Type]

func (*Discipline[Type]) Release

func (dsc *Discipline[Type]) Release(uint)

type Opts

type Opts[Type any] struct {
	FailAt           uint
	HandlersQuantity uint
	Inputs           map[uint]<-chan Type
}

Jump to

Keyboard shortcuts

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