Method: Redis::Commands::Pubsub#psubscribe

Defined in:
lib/redis/commands/pubsub.rb

#psubscribe(*channels, &block) ⇒ Object

Listen for messages published to channels matching the given patterns.



32
33
34
# File 'lib/redis/commands/pubsub.rb', line 32

def psubscribe(*channels, &block)
  _subscription(:psubscribe, 0, channels, block)
end