Streams: augment client.bpop with XREAD specific fields.

This commit is contained in:
antirez
2017-09-07 09:30:50 +02:00
parent f80dfbf464
commit 4086dff477
4 changed files with 18 additions and 0 deletions

View File

@ -392,3 +392,11 @@ void xlenCommand(client *c) {
stream *s = o->ptr;
addReplyLongLong(c,s->length);
}
/* XREAD [BLOCK <milliseconds>] [COUNT <count>] [GROUP <groupname> <ttl>]
* [RETRY <milliseconds> <ttl>] STREAMS key_1 ID_1 key_2 ID_2 ...
* key_N ID_N */
void xreadCommand(client *c) {
}