-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding new builtin commands and transformers #621
Comments
It appears that this doesn't add it to the multi pipelining. It would be great to have an answer for this, even if the answer is "we don't support adding custom commands". |
I got it working with pipeline by adding the "string" and "buffer" from above to the Pipeline prototype by directly requiring |
Sorry for the late response! Yes, adding commands to pipeline directly should do the trick. XADD command will be added as soon as it's added to the redis-commands package. |
Awesome, thanks :) |
I am currently playing around with redis streams (and here which add some new commands. I don't think these commands are available for production use, but I assume they'll be added to the list of commands currently in the
redis-commands
module when they're ready.Until then, I'm currently looking to add these commands to my ioredis instance. What is the best way to do this that will support things like pipelines and transactions? The way I got it to work seems hacky (using and overriding prototypes), but this is what I've got so far:
The text was updated successfully, but these errors were encountered: