Sha256: cbaa6cce3cbeefba528d78ed1b5ec8053325c28c8c9a3f72aab37d88527c9a67

Contents?: true

Size: 932 Bytes

Versions: 2

Compression:

Stored size: 932 Bytes

Contents

= Workflow Examples

=== Sequence

A simple sequence using the --: syntax.

  % 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.19.0 doc/Examples/Workflow
tap-0.18.0 doc/Examples/Workflow