Last active
October 11, 2016 16:18
-
-
Save demosifter/5bbe327bd17785b4da9760c7e4b4397b to your computer and use it in GitHub Desktop.
adding a second node and making first node emit to store
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"nodes":[{ | |
"#": "First Node", | |
"input": { | |
"bucket": "gmailEmails" | |
}, | |
"implementation": { | |
"javascript": "server/node1.js" | |
}, | |
"outputs": { | |
"messageCounts": {} | |
} | |
}, | |
{ | |
"#": "Second Node", | |
"input": { | |
"bucket": "messageCounts", | |
"select": "*" | |
}, | |
"implementation": { | |
"javascript": "server/node2.js" | |
}, | |
"outputs": { | |
"count": {} | |
} | |
}], | |
"stores":{ | |
"messageCounts" : { | |
"key$schema":"string" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment