Method: Redis#psubscribe
- Defined in:
- lib/redis.rb
#psubscribe(*channels, &block) ⇒ Object
Listen for messages published to channels matching the given patterns.
1989 1990 1991 1992 1993 |
# File 'lib/redis.rb', line 1989 def psubscribe(*channels, &block) synchronize do |client| _subscription(:psubscribe, channels, block) end end |