Skip to content

Instantly share code, notes, and snippets.

@jnv
Created Oct 26, 2018
Embed
What would you like to do?
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