Documentation
¶
Index ¶
- func AndShutdown(inputs ...<-chan int) <-chan int
- func DealWith(done chan struct{}, data <-chan time.Time, out chan<- struct{})
- func Merge(input ...chan int) chan int
- func OrShutdown(inputs ...<-chan int) <-chan int
- func Pipeline(input chan int, filters ...func(task int) bool) chan int
- func Pool(shutdown <-chan int, input <-chan int, poolSize int, process func(int) int) <-chan int
- func Range()
- func SetNode()
- func Split(input chan int, outputs ...chan int)
- func SplitRnd(input chan int, outputs ...chan int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AndShutdown ¶
AndShutdown combines multiple signalling channels and returns a single signalling channel (The output channel is closed when all of the input signalling channels are closed)
func OrShutdown ¶
OrShutdown combines multiple signalling channels and returns a single signalling channel (The output channel is closed if any of the input signalling channels is closed)
func Pipeline ¶
Pipeline recursively creates a multi-stage asynchronous pipeline to filter values from the input channel in order of the functions provided and publish qualifying values to the output channel
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.