-
Notifications
You must be signed in to change notification settings - Fork 68
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
Node: Brpop Command #1113
Node: Brpop Command #1113
Conversation
7a3bb36
to
efca2f6
Compare
node/src/Transaction.ts
Outdated
* | ||
* @param keys - The `keys` of the lists to pop from. | ||
* @param timeout - The `timeout` in seconds. | ||
* @returns - `Array` of the `key` that elements were poped from, and the popped elements, or null if timeout is reached. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't use @returns in transactions but Command Response:
(see below)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll fix, but its not consistent throw the file, a lot of the function use returns
. Need to be aligned in another PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please open a fix for that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is a fix? like issue, or you ask to fix?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix documentation and add examples
efca2f6
to
b6f3f3a
Compare
b6f3f3a
to
8915385
Compare
a6d33ac
to
041df4c
Compare
07311e8
to
a44a9ef
Compare
a44a9ef
to
98b447e
Compare
node/src/Transaction.ts
Outdated
* | ||
* @param keys - The `keys` of the lists to pop from. | ||
* @param timeout - The `timeout` in seconds. | ||
* @returns - `Array` of the `key` that elements were poped from, and the popped elements, or null if timeout is reached. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please open a fix for that?
98b447e
to
563129b
Compare
563129b
to
86a8fc7
Compare
Add BRPOP command to node
Add BRPOP command to node
Add Brpop command to TS
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.