instance method
stop_stream_for
Ruby on Rails 6.1.7.10
Since v6.1.7.10Signature
stop_stream_for(model)
Unsubscribes streams for the model.
Parameters
-
modelreq
Source
# File actioncable/lib/action_cable/channel/streams.rb, line 115
def stop_stream_for(model)
stop_stream_from(broadcasting_for(model))
end
Defined in actioncable/lib/action_cable/channel/streams.rb line 115
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::Channel::Streams