method

when_connected

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Listener
when_connected(&block) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 174
            def when_connected(&block)
              if @subscribed_client
                block.call
              else
                @when_connected << block
              end
            end
Register or log in to add new notes.