package
Version:
v8.42.1698085480-SHA-e...
Opens a new window with list of versions in this module.
Published: Oct 24, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package channels provide some simple adapters to facilitate common
read/write patterns.
type Sink[T any] chan<- T
func NewSink[T any](c chan<- T) Sink[T]
NewSink takes a writable channel and returns a Sink, which can be used to
chain common transformations fluently.
type Source[T any] <-chan T
NewSource takes a readable channel and returns a Source, which can be used
to chain common transformations fluently.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.