implement XCLAIM command (#1557)

* implement XCLAIM command

* modify CHANGELOG.md

* add empty line before return

* test xclaim with all available options

* review refactoring

* remove fast-track check for empty answer

---------

Co-authored-by: aleksanders <alexander.s@seranking.com>
This commit is contained in:
alschastny
2025-06-13 10:07:44 +03:00
committed by GitHub
parent b5b486a254
commit 0a8fe54b44
5 changed files with 271 additions and 0 deletions
+1
View File
@@ -298,6 +298,7 @@ use Predis\Response\Status;
* @method int xack(string $key, string $group, string ...$id)
* @method string xadd(string $key, array $dictionary, string $id = '*', array $options = null)
* @method array xautoclaim(string $key, string $group, string $consumer, int $minIdleTime, string $start, ?int $count = null, bool $justId = false)
* @method array xclaim(string $key, string $group, string $consumer, int $minIdleTime, string|array $ids, ?int $idle = null, ?int $time = null, ?int $retryCount = null, bool $force = false, bool $justId = false, ?string $lastId = null)
* @method int xdel(string $key, string ...$id)
* @method int xlen(string $key)
* @method array xrevrange(string $key, string $end, string $start, ?int $count = null)