diff options
Diffstat (limited to 'examples/redis-unstable/src/commands/ssubscribe.json')
| -rw-r--r-- | examples/redis-unstable/src/commands/ssubscribe.json | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/examples/redis-unstable/src/commands/ssubscribe.json b/examples/redis-unstable/src/commands/ssubscribe.json new file mode 100644 index 0000000..46373d5 --- /dev/null +++ b/examples/redis-unstable/src/commands/ssubscribe.json | |||
| @@ -0,0 +1,42 @@ | |||
| 1 | { | ||
| 2 | "SSUBSCRIBE": { | ||
| 3 | "summary": "Listens for messages published to shard channels.", | ||
| 4 | "complexity": "O(N) where N is the number of shard channels to subscribe to.", | ||
| 5 | "group": "pubsub", | ||
| 6 | "since": "7.0.0", | ||
| 7 | "arity": -2, | ||
| 8 | "function": "ssubscribeCommand", | ||
| 9 | "command_flags": [ | ||
| 10 | "PUBSUB", | ||
| 11 | "NOSCRIPT", | ||
| 12 | "LOADING", | ||
| 13 | "STALE" | ||
| 14 | ], | ||
| 15 | "arguments": [ | ||
| 16 | { | ||
| 17 | "name": "shardchannel", | ||
| 18 | "type": "string", | ||
| 19 | "multiple": true | ||
| 20 | } | ||
| 21 | ], | ||
| 22 | "key_specs": [ | ||
| 23 | { | ||
| 24 | "flags": [ | ||
| 25 | "NOT_KEY" | ||
| 26 | ], | ||
| 27 | "begin_search": { | ||
| 28 | "index": { | ||
| 29 | "pos": 1 | ||
| 30 | } | ||
| 31 | }, | ||
| 32 | "find_keys": { | ||
| 33 | "range": { | ||
| 34 | "lastkey": -1, | ||
| 35 | "step": 1, | ||
| 36 | "limit": 0 | ||
| 37 | } | ||
| 38 | } | ||
| 39 | } | ||
| 40 | ] | ||
| 41 | } | ||
| 42 | } | ||
