unpack_string/hw06_pipeline_execution/pipeline.go

15 lines
235 B
Go
Raw Normal View History

2023-10-30 15:21:12 +03:00
package hw06pipelineexecution
type (
In = <-chan interface{}
Out = In
Bi = chan interface{}
)
type Stage func(in In) (out Out)
func ExecutePipeline(in In, done In, stages ...Stage) Out {
// Place your code here.
return nil
}