method
unsubscribe_from_channel
v6.1.3.1 -
Show latest stable
- Class:
ActionCable::Channel::Base
unsubscribe_from_channel()public
Called by the cable connection when it’s cut, so the channel has a chance to cleanup with callbacks. This method is not intended to be called directly by the user. Instead, overwrite the #unsubscribed callback.