method

when_connected

when_connected(&block)
private

No documentation available.

# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 150
            def when_connected(&block)
              if @raw_client
                block.call
              else
                @when_connected << block
              end
            end