Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Drain ¶ added in v0.1.0
func Drain[T any](in <-chan T, fn func(in T))
Drain receives each value from an input channel and does something with it.
func Generate ¶
func Generate[T any](values ...T) <-chan T
Generate sends each value to the out channel.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.