File: PUBSUB.md

package info (click to toggle)
python-fakeredis 2.29.0-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,772 kB
  • sloc: python: 19,002; sh: 8; makefile: 5
file content (64 lines) | stat: -rw-r--r-- 1,670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Redis `pubsub` commands (15/15 implemented)

## [PSUBSCRIBE](https://redis.io/commands/psubscribe/)

Listens for messages published to channels that match one or more patterns.

## [PUBLISH](https://redis.io/commands/publish/)

Posts a message to a channel.

## [PUBSUB](https://redis.io/commands/pubsub/)

A container for Pub/Sub commands.

## [PUBSUB CHANNELS](https://redis.io/commands/pubsub-channels/)

Returns the active channels.

## [PUBSUB HELP](https://redis.io/commands/pubsub-help/)

Returns helpful text about the different subcommands.

## [PUBSUB NUMPAT](https://redis.io/commands/pubsub-numpat/)

Returns a count of unique pattern subscriptions.

## [PUBSUB NUMSUB](https://redis.io/commands/pubsub-numsub/)

Returns a count of subscribers to channels.

## [PUBSUB SHARDCHANNELS](https://redis.io/commands/pubsub-shardchannels/)

Returns the active shard channels.

## [PUBSUB SHARDNUMSUB](https://redis.io/commands/pubsub-shardnumsub/)

Returns the count of subscribers of shard channels.

## [PUNSUBSCRIBE](https://redis.io/commands/punsubscribe/)

Stops listening to messages published to channels that match one or more patterns.

## [SPUBLISH](https://redis.io/commands/spublish/)

Post a message to a shard channel

## [SSUBSCRIBE](https://redis.io/commands/ssubscribe/)

Listens for messages published to shard channels.

## [SUBSCRIBE](https://redis.io/commands/subscribe/)

Listens for messages published to channels.

## [SUNSUBSCRIBE](https://redis.io/commands/sunsubscribe/)

Stops listening to messages posted to shard channels.

## [UNSUBSCRIBE](https://redis.io/commands/unsubscribe/)

Stops listening to messages posted to channels.