You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-09 00:22:08 +03:00
docs(*): additional clarification of Pub/Sub section (#1489)
The previous phrasing wasn't clear to me. The oxford comma is necessary to avoid ambiguity.
This commit is contained in:
@@ -532,8 +532,8 @@ sub.subscribe("a nice channel");
|
||||
```
|
||||
|
||||
When a client issues a `SUBSCRIBE` or `PSUBSCRIBE`, that connection is put into
|
||||
a "subscriber" mode. At that point, only commands that modify the subscription
|
||||
set are valid and quit (and depending on the redis version ping as well). When
|
||||
a "subscriber" mode. At that point, the only valid commands are those that modify the subscription
|
||||
set, and quit (also ping on some redis versions). When
|
||||
the subscription set is empty, the connection is put back into regular mode.
|
||||
|
||||
If you need to send regular commands to Redis while in subscriber mode, just
|
||||
|
Reference in New Issue
Block a user