mqemitter-redis
Redis-powered MQEmitter.
See MQEmitter for the actual API.
Install
$ npm install mqemitter-redis --save
Example
var redis = var mq = var msg = topic: 'hello world' payload: 'or any other fields' mq // topic is mandatorymq
API
MQEmitterRedis([opts])
Creates a new instance of mqemitter-redis. It takes all the same options of ioredis, which is used internally to connect to Redis.
This constructor creates two connections to Redis.
Acknowledgements
Code ported from Ascoltatori.
License
MIT