Skip to content

Instantly share code, notes, and snippets.

@jnv
Created October 26, 2018 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jnv/7efa0a9f40aa4cf719949b51246c12f8 to your computer and use it in GitHub Desktop.
Save jnv/7efa0a9f40aa4cf719949b51246c12f8 to your computer and use it in GitHub Desktop.
BakeryJS Example Output
$ node index.js
dispatch on flow description:
building flow from SchemaObject
* process **********************************************************************
* SERIAL -----------------------------------------------------------------------
* | CONCURRENT -----------------------------------------------------------------
* | - helloworld
* | ----------------------------------------------------------------------------
* | CONCURRENT -----------------------------------------------------------------
* | - wordcount
* | ----------------------------------------------------------------------------
* ------------------------------------------------------------------------------
********************************************************************************
Program run ----->
Drain received a message { jobId: '0', text: 'Hello world!', words: 3 }
Drain received a message { jobId: '0', text: 'This is a bit longer text', words: 6 }
Drain received a message { jobId: '0', text: 'Ahoj světe!', words: 4 }
Drain received a message { jobId: '0', text: 'This text is shorter', words: 4 }
Drain received a message { jobId: '0', text: 'Bonjour monde!', words: 3 }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment