package
Version:
v0.0.2
Opens a new window with list of versions in this module.
Published: Jul 18, 2022
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
func Generate[T any](values ...T) <-chan T
Generate sends each value to the out channel.
func Merge[T any](in ...<-chan T) <-chan T
Merge sends each value from a list of input channels to the out channel.
func Process[T any](in <-chan T, fn func(in T) T) <-chan T
Process works on each value from an input channel and
sends the result to an output channel.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.