Created
June 29, 2015 17:55
-
-
Save andrewshell/66b6cdf7880d8c022c1d to your computer and use it in GitHub Desktop.
River4 addToRiver callback to publish itemFromParser to Redis pub/sub
This file contains hidden or 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
var redis = require("redis"), | |
client = redis.createClient(); | |
client.publish('river4.itemFromParser', JSON.stringify(itemFromParser)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment