summaryrefslogtreecommitdiffstats
path: root/iredis/data/commands/bzpopmin.md
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-04 07:19:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-01-04 07:19:32 +0000
commit7480e618ec785ba8a1c74c8a150cffe5880fb3bb (patch)
tree87422376dd9a7eee55850f0fce9a8bb4c13e44a2 /iredis/data/commands/bzpopmin.md
parentAdding upstream version 1.12.1. (diff)
downloadiredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.tar.xz
iredis-7480e618ec785ba8a1c74c8a150cffe5880fb3bb.zip
Adding upstream version 1.13.0.upstream/1.13.0
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'iredis/data/commands/bzpopmin.md')
-rw-r--r--iredis/data/commands/bzpopmin.md20
1 files changed, 8 insertions, 12 deletions
diff --git a/iredis/data/commands/bzpopmin.md b/iredis/data/commands/bzpopmin.md
index 5541726..b48a4fb 100644
--- a/iredis/data/commands/bzpopmin.md
+++ b/iredis/data/commands/bzpopmin.md
@@ -1,11 +1,11 @@
`BZPOPMIN` is the blocking variant of the sorted set `ZPOPMIN` primitive.
It is the blocking version because it blocks the connection when there are no
-members to pop from any of the given sorted sets. A member with the lowest score
-is popped from first sorted set that is non-empty, with the given keys being
-checked in the order that they are given.
+members to pop from any of the given sorted sets.
+A member with the lowest score is popped from first sorted set that is
+non-empty, with the given keys being checked in the order that they are given.
-The `timeout` argument is interpreted as an double value specifying the maximum
+The `timeout` argument is interpreted as a double value specifying the maximum
number of seconds to block. A timeout of zero can be used to block indefinitely.
See the [BLPOP documentation][cl] for the exact semantics, since `BZPOPMIN` is
@@ -18,14 +18,10 @@ popped from.
@array-reply: specifically:
-- A `nil` multi-bulk when no element could be popped and the timeout expired.
-- A three-element multi-bulk with the first element being the name of the key
- where a member was popped, the second element is the popped member itself, and
- the third element is the score of the popped element.
-
-@history
-
-- `>= 6.0`: `timeout` is interpreted as a double instead of an integer.
+* A `nil` multi-bulk when no element could be popped and the timeout expired.
+* A three-element multi-bulk with the first element being the name of the key
+ where a member was popped, the second element is the popped member itself,
+ and the third element is the score of the popped element.
@examples