pipeline

package
v0.0.0-...-6156683 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Consumer

func Consumer[T any](ctx context.Context, cancelFunc context.CancelFunc, values <-chan T, operation func(T) error, errors <-chan error) error

func Producer

func Producer[T any](ctx context.Context, input []T) <-chan T

func Step

func Step[In any, Out any](ctx context.Context,
	inChan <-chan In,
	outChan chan<- Out,
	errChan chan<- error,
	transform func(In) (Out, error),
)

Types

This section is empty.

Jump to

Keyboard shortcuts

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