Sha256: f8848afc50ae1fee7a93c32bdfb7f74fd238971219e7ced42144817c341023b8
Contents?: true
Size: 596 Bytes
Versions: 5
Compression:
Stored size: 596 Bytes
Contents
class ActiveOrm::Redis::PubSub < ActiveOrm::Redis def self.publish(channel, message) client.publish(channel, message) end def self.subscribed? client.subscribed? end def self.subscribe(*channels, &block) client.subscribe(channels, &block) end def self.unsubscribe(*channels) client.unsubscribe(channels) end def self.match_subscribe(*channels, &block) client.psubscribe(channels, &block) end def self.match_unsubscribe(*channels) client.punsubscribe(channels) end def self.state(command, *args) client.pubsub(command, args) end end
Version data entries
5 entries across 5 versions & 1 rubygems