Closed calvinlauyh closed 5 years ago
When the list is non-empty, calling blpop and brpop calls the callback with only the value in the result
blpop
brpop
The result in callback function should be [key, value]
[key, value]
The resultt in callback function contains only the value
https://redis.io/commands/blpop#return-value
Description:
When the list is non-empty, calling
blpop
andbrpop
calls the callback with only the value in the resultAffected 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