I'm unsure if this is a bug or just improper usage of the library. I can #subscribe to a channel without issue. However, when I try to use #psubscribe the subscription callback never is called. What am I doing wrong?
require "redis"
redis = Redis.new
redis.psubscribe("channel.*") do |on|
on.message do |channel, message|
puts "I got a message"
end
end
I'm unsure if this is a bug or just improper usage of the library. I can
#subscribe
to a channel without issue. However, when I try to use#psubscribe
the subscription callback never is called. What am I doing wrong?