forest

command
v2.31.2+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 30, 2021 License: Apache-2.0, BSD-3-Clause, MIT Imports: 6 Imported by: 0

Documentation

Overview

forest is an example that shows that pipeline construction is normal Go code -- the pipeline "forest" is created recursively and uses a global variable -- and that a pipeline may contain non-connected parts.

The pipeline generated has the shape of a forest where the output of each singleton leaf is flattened together over several rounds. This is most clearly seen via a visual representation of the pipeline, such as the one produced by the 'dot' runner.

Running the pipeline logs "1", "2", "3", etc for each leaf in the forest. Note that different runners may produces different or non-deterministic orders.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL