instance method
unsubscribed
Ruby on Rails 5.0.7.2
Since v5.0.7.2Signature
unsubscribed()
Called once a consumer has cut its cable connection. Can be used for cleaning up connections or marking users as offline or the like.
Source
# File actioncable/lib/action_cable/channel/base.rb, line 202
def unsubscribed
# Override in subclasses
end
Defined in actioncable/lib/action_cable/channel/base.rb line 202
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::Base