channeller

package
v1.0.21 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 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 added in v1.0.18

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 added in v1.0.18

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