node-redis-pubsub
node-redis-pubsub copied to clipboard
Refactor part 1: Use ES6
This is a pretty huge rewrite. Any particular reason that this needs to be done?
I'm planning a part 2 of this, to use async/await
This PR starts that process.
I like the idea, but I'm worried about supporting older Node environments. What do you think about using babel transpilation to es5 so that the library can still be used on older version?
Yea, that'll work. It could be done as a pre-publish hook for npm.
Would you mind setting that up before we merge it in? Also, would you be interested in becoming a collaborator?
Sure, I'll try to get to it in the next couple weeks.
Yea, why not. I've got some ideas for this lib.
- an option for message reply
- push/worker mode (message is only ever sent to 1 worker, worker needs to
ack
)
Pretty sure both of those can be done with bacon.js or RxJS.
@louischatriot Would you mind giving @notVitaliy access as a collaborator?