Method: Redis::Commands::Pubsub#ssubscribe_with_timeout

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

#ssubscribe_with_timeout(timeout, *channels, &block) ⇒ Object

Listen for messages published to the given channels in a shard. Throw a timeout error if there is no messages for a timeout period.



71
72
73
# File 'lib/redis/commands/pubsub.rb', line 71

def ssubscribe_with_timeout(timeout, *channels, &block)
  _subscription(:ssubscribe_with_timeout, timeout, channels, block)
end