method
when_connected
v8.1.1 -
Show latest stable
- Class:
ActionCable::SubscriptionAdapter::Redis::Listener
when_connected(&block)private
No documentation available.
# File actioncable/lib/action_cable/subscription_adapter/redis.rb, line 177
def when_connected(&block)
if @subscribed_client
block.call
else
@when_connected << block
end
end