Method: Redis::Commands::Pubsub#psubscribe_with_timeout
- Defined in:
- lib/redis/commands/pubsub.rb
#psubscribe_with_timeout(timeout, *channels, &block) ⇒ Object
Listen for messages published to channels matching the given patterns. Throw a timeout error if there is no messages for a timeout period. See the Redis Server PSUBSCRIBE documentation for further details
42 43 44 |
# File 'lib/redis/commands/pubsub.rb', line 42 def psubscribe_with_timeout(timeout, *channels, &block) _subscription(:psubscribe_with_timeout, timeout, channels, block) end |