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

How can I use bzpopmax or bzpopmin? #476

Open
uheee opened this issue Apr 12, 2021 · 2 comments
Open

How can I use bzpopmax or bzpopmin? #476

uheee opened this issue Apr 12, 2021 · 2 comments

Comments

@uheee
Copy link

uheee commented Apr 12, 2021

I want my program to block when using bzpopmax until the first available element appears in the zset. I did not find any related functions in the documentation, and zpopmax will return regardless of whether there is an element in zset.

@nihohit
Copy link
Contributor

nihohit commented Sep 7, 2023

Hi, can you write a sample test that will demonstrate the issue?

@jaymell
Copy link
Contributor

jaymell commented Sep 8, 2023

I think the issue here is just that we're missing the wrappers for the blocking commands, correct? If so, it should be an easy PR to add these, as @nihohit mentioned on #944.

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

No branches or pull requests

3 participants