class

Redis::Subscription

Inherits Reference / Object

Models a subscription to one or more publish/subscribe channels.

The caller sets callbacks on this object that the Redis client will trigger for the matching events.

Instance methods

message

Sets the 'message' callback.

Source
pmessage

Sets the 'pmessage' callback.

Source
psubscribe

Sets the 'psubscribe' callback.

Source
punsubscribe

Sets the 'punsubscribe' callback.

Source
subscribe

Sets the 'subscribe' callback.

Source
unsubscribe

Sets the 'unsubscribe' callback.

Source