Streams: XREAD related code to serve blocked clients.

This commit is contained in:
antirez
2017-09-08 16:57:32 +02:00
parent 0adb43b68f
commit 2cacdcd6f8
2 changed files with 50 additions and 1 deletions

View File

@ -1425,6 +1425,7 @@ void popGenericCommand(client *c, int where);
/* Stream data type. */
stream *streamNew(void);
void freeStream(stream *s);
size_t streamReplyWithRange(client *c, stream *s, streamID *start, streamID *end, size_t count);
/* MULTI/EXEC/WATCH... */
void unwatchAllKeys(client *c);