RedisPubSub

io.chrisdavenport.rediculous.RedisPubSub
See theRedisPubSub companion object
trait RedisPubSub[F[_]]

A RedisPubSub Represent an connection or group of connections communicating to the pubsub subsystem of Redis.

Only one caller should be responsible for runMessages, but delegation of how to handle errors and what to do when the connection closes or what state it closes is left to the user so they can determine what to do.

Subscription commands are run synchronous to matching subscriptions. If your operations need to take a long time please delegate them into a queue for handling without holding up other messages being processed.

Attributes

Companion:
object
Source:
RedisPubSub.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def nonMessages(cb: PubSubReply => F[Unit]): F[Unit]

Attributes

Source:
RedisPubSub.scala
def ping: F[Unit]

Attributes

Source:
RedisPubSub.scala
def psubscribe(s: String, cb: PMessage => F[Unit]): F[Unit]

Attributes

Source:
RedisPubSub.scala

Attributes

Source:
RedisPubSub.scala
def publish(channel: String, message: String): F[Int]

Attributes

Source:
RedisPubSub.scala

Attributes

Source:
RedisPubSub.scala

Attributes

Source:
RedisPubSub.scala
def subscribe(s: String, cb: Message => F[Unit]): F[Unit]

Attributes

Source:
RedisPubSub.scala

Attributes

Source:
RedisPubSub.scala

Attributes

Source:
RedisPubSub.scala
def unsubscribe(s: String): F[Unit]

Attributes

Source:
RedisPubSub.scala

Attributes

Source:
RedisPubSub.scala