channeller

package
v1.0.36 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FanIn

func FanIn[T any](inputs ...<-chan T) chan T

func FanOut

func FanOut[T any](input <-chan T, outputs ...<-chan T) []chan T

func StreamFn

func StreamFn[I any, O any](ctx context.Context, in <-chan I, fn func(I) O) <-chan O

func StreamTimeoutFn

func StreamTimeoutFn[I any, O any](ctx context.Context, duration time.Duration, in <-chan I, fn func(I) O) (<-chan O, context.CancelFunc)

Types

This section is empty.

Jump to

Keyboard shortcuts

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