module AnyCable::Rails::ChannelState
Attributes
__istate__[W]
Make it possible to provide istate explicitly for a channel instance
Public Class Methods
included(base)
click to toggle source
# File lib/anycable/rails/channel_state.rb, line 36 def self.included(base) base.extend ClassMethods end
Public Instance Methods
__istate__()
click to toggle source
# File lib/anycable/rails/channel_state.rb, line 43 def __istate__ @__istate__ ||= connection.socket.istate end