-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add binary variant to PUBSUB subscribe commands #420
Add binary variant to PUBSUB subscribe commands #420
Conversation
* Node: add binary support for PubSub commands, part 1 --------- Signed-off-by: Yi-Pin Chen <[email protected]>
Signed-off-by: Yi-Pin Chen <[email protected]>
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.
lgtm
method, | ||
listeningClient, | ||
context, | ||
index, | ||
); | ||
))!; |
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.
why did you add this?
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.
VS Code complaints that pubsubMsg
is possibly null
. So I have to add this.
Signed-off-by: Yi-Pin Chen <[email protected]>
Signed-off-by: Yi-Pin Chen <[email protected]>
Signed-off-by: Yi-Pin Chen <[email protected]>
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 don't review tests, I trust you. If they past - all LGTM
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.
All PubSub tests passed.
04e9334
into
node/integ-valkey-293-return-record-with-glidestring
Add binary variant for the following commands:
PSubbscribe
Subscribe
SSubscribe
Unsubscribe
SUnsubscribe
PUnsubscribe
Add decoder option to PUBSUB's
createClient()
.Note: to complete
PUBSUB
subscribe commands, I have to cherry-pick already merged main branch PR valkey-io#2201.