package
Version:
v3.97.0
Opens a new window with list of versions in this module.
Published: Dec 14, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
func FilterRead[T any](ch <-chan T, f func(T) bool) <-chan T
FilterRead reads every item from the input channel and writes it to the output channel if the given filter function
returns true for it.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.