pub async fn connect_to_pubsub_with_capacity(
    redis_host: &str,
    channel_name: &str,
    message_capacity: usize
) -> RedisResult<()>
Expand description

Connect to a redis host using a particular channel name (in redis) in order to pass messages between servers or processes.

Capacity represents the maximum number of in-flight messages before processing has occurred.