Method: Redis#psubscribe
- Defined in:
- lib/redis.rb
#psubscribe(*channels, &block) ⇒ Object
Listen for messages published to channels matching the given patterns.
1061 1062 1063 1064 1065 |
# File 'lib/redis.rb', line 1061 def psubscribe(*channels, &block) synchronize do subscription(:psubscribe, channels, block) end end |