pull-redis-pubsub
Simple wrapper to get redis pub sub channels as a pull stream.
subscriber
The subscriber is a pull stream source that will emit new messages over time.
publisher
The publisher is a pull stream sink that you can pipe new messages too.
install
npm install pull-redis-pubsub
example
Publisher
var redis_pub = pub;var pushable = var pull = { if ! this instanceof publisher return ; thisbuffer = ; var self = this; this { selfbuffer; } } var pub =
Subscriber
var redis_sub = sub;var pull =