filter

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Binary

type Binary[X any] struct {
	Input <-chan X
	True  chan<- X
	False chan<- X
	Func  func(X) bool
}

func (*Binary[X]) Work

func (b *Binary[X]) Work(ctx context.Context) error

type Drop

type Drop[X any] struct {
	Input  <-chan X
	Output chan<- X
	Func   func(X) bool
}

func (*Drop[X]) Work

func (d *Drop[X]) Work(ctx context.Context) error

type Multi

type Multi[X any, K comparable] struct {
	Input  <-chan X
	Output map[K](chan<- X)
	Func   func(X) K
}

func (*Multi[X, K]) Work

func (m *Multi[X, K]) Work(ctx context.Context) error

Jump to

Keyboard shortcuts

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