def publish(channel, value)
      redis = Attention.redis.call
      yield redis if block_given?
      redis.publish channel, payload_for(value)
    end
def publish(channel, value)
      redis = Attention.redis.call
      yield redis if block_given?
      redis.publish channel, payload_for(value)
    end
Publishes the value to the channel
 @param channel [String] The channel to publish to
 @param value [Object] The value to publish
 @yield Allows an optional block to use the Redis connection
 @yieldparam redis [Redis] The Redis connection