Publish a message to a channel
listeners = redis.publish("my-topic", "my-message")
The channel to publish to.
The message to publish.
The number of clients who received the message.
Was this page helpful?