instance method
broadcast
Ruby on Rails 8.0.4
Since v6.0.6Signature
broadcast(channel, payload)
No documentation comment.
Parameters
-
channelreq -
payloadreq
Source
# File actioncable/lib/action_cable/subscription_adapter/test.rb, line 18
def broadcast(channel, payload)
broadcasts(channel) << payload
super
end
Defined in actioncable/lib/action_cable/subscription_adapter/test.rb line 18
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionCable::SubscriptionAdapter::Test