pipeline

package module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge[T any](ctx context.Context, chs ...chan T) <-chan T

func Source

func Source[In any](ctx context.Context, in []In) (chan In, chan error)

func Step

func Step[In any, Out any](
	ctx context.Context,
	chIn <-chan In,
	stepAction *stepaction.StepAction[In, Out],
	opts ...StepOption,
) (chan Out, chan error)

Types

type StepOption

type StepOption func(*stepConfig)

func WithLimit

func WithLimit(l int64) StepOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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