Sha256: 930e55085f2175569390856538f6414e220ed484e09e10b5a47fc20403574dc4

Contents?: true

Size: 969 Bytes

Versions: 2

Compression:

Stored size: 969 Bytes

Contents

= Workflow Examples

=== Sequence

A simple sequence using the --: syntax that joins the previous to next task.

  % tap run -- load 'goodnight moon' --: dump
  goodnight moon
  
=== Sequence (canonical)

The more canonical way of specifying a sequence.

  % tap run -- load 'goodnight moon' -- dump --[0][1]
  goodnight moon

=== Fork

Multiple outputs for a single input.

  % tap run -- load 'goodnight moon' -- dump -- dump --[0][1,2]
  goodnight moon
  goodnight moon
  
=== Merge

Multiple inputs for a single output; note that as seen in the output, dump
receives the inputs in serial, whenever they happen to be ready.

  % tap run -- load goodnight -- load moon -- dump --[0,1][2]
  goodnight
  moon

=== Synchronized Merge

Similar to a merge, but the results of each input are collected into an array
before being passed to dump. The printout is: ['goodnight', 'moon'].to_s

  % tap run -- load goodnight -- load moon -- dump --[0,1][2].sync
  goodnightmoon

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tap-0.17.0 doc/Examples/Workflow
tap-0.17.1 doc/Examples/Workflow