redis-subscribe

Crates.ioredis-subscribe
lib.rsredis-subscribe
version0.2.1
sourcesrc
created_at2021-12-08 23:35:58.419676
updated_at2022-01-22 21:42:19.422846
descriptionEasily subscribe and unsubscribe to redis pubsub.
homepage
repositoryhttps://github.com/nexiumapp/redis-subscribe
max_upload_size
id494860
size48,397
Dany Sluijk (dsluijk)

documentation

README

Redis subscription

Easily subscribe and unsubscribe 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 or even 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: 32

cargo fmt