Popularity
3.2
Growing
Activity
0.0
Stable
52
4
9

Programming language: Go
License: MIT License
Tags: Data Structures    

pipeline alternatives and similar packages

Based on the "Data Structures" category.
Alternatively, view pipeline alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of pipeline or a related project?

Add another 'Data Structures' Package

README

GoDoc Build Status cover.run Go Report Card

pipeline

This package provides a simplistic implementation of Go pipelines as outlined in Go Concurrency Patterns: Pipelines and cancellation.

Docs

GoDoc available here.

Example Usage

import "github.com/hyfather/pipeline"

p := pipeline.New()
p.AddStageWithFanOut(myStage, 10)
p.AddStageWithFanOut(anotherStage, 100)
doneChan := p.Run(inChan)

<- doneChan

More comprehensive examples can be found [here.](./examples)