Skip to content
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

Fixed bpop family does not return key value array when list is non-empty #102

Conversation

calvinlauyh
Copy link

Description:

When the list is non-empty, calling blpop and brpop calls the callback with only the value in the result

Affected methods:

  • blpop
  • brpop

Expected Behaviour:

The result in callback function should be [key, value]

Actual Behaviour:

The resultt in callback function contains only the value

Reference:

https://redis.io/commands/blpop#return-value

@yeahoffline yeahoffline merged commit f61facf into yeahoffline:master Nov 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants