Add more docblocks and fix XAUTOCLAIM response handler.

- Finish adding docblocks with examples for all of the stream commands.
- Fix XAUTOCLAIM response handler (the reply has a slightly different
  structure to XCLAIM.
This commit is contained in:
michael-grunder
2022-11-15 21:23:52 -08:00
committed by Michael Grunder
parent c14a9e3a01
commit 0b7bd83f57
12 changed files with 478 additions and 57 deletions

View File

@@ -895,7 +895,13 @@ class RedisCluster {
/**
* @see Redis::xgroup
*/
public function xgroup(string $operation, string $key = null, string $arg1 = null, string $arg2 = null, bool $arg3 = false): mixed;
public function xgroup(string $operation, string $key = null, string $group = null, string $id_or_consumer = null,
bool $mkstream = false, int $entries_read = -2): mixed;
/**
* @see Redis::xautoclaim
*/
public function xautoclaim(string $key, string $group, string $consumer, int $min_idle, string $start, int $count = -1, bool $justid = false): Redis|bool|array;
/**
* @see Redis::xinfo