method

unsubscribe_from_channel

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: 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, override the #unsubscribed callback.

Show source
Register or log in to add new notes.