redis-pubsub

Crates.ioredis-pubsub
lib.rsredis-pubsub
version0.0.1
sourcesrc
created_at2022-04-09 22:57:30.660289
updated_at2022-04-09 22:57:30.660289
descriptionFork of redis-subscribe which also supports publishing
homepage
repositoryhttps://github.com/randomairborne/redis-pubsub
max_upload_size
id564890
size49,182
valkyrie_pilot (randomairborne)

documentation

README

Redis subscription

Easily subscribe, unsubscribe, and publish to redis pubsub.

Why this package?

Currently the redis crate does not allow to subscribe or unsubscribe after you attached a listener, as you can see in this issue. This crate aims to resolve this.

What doesn't it do?

Almost everything! It only handles subscriptions, so it cannot set/get keys. This version does support publishing. Use the redis crate instead, this one works well with all other features.

Usage

Take a look at the example folder to see usage examples.

Commit count: 0

cargo fmt