method
broadcaster_for
v8.0.0 -
Show latest stable
- Class:
ActionCable::Server::Broadcasting
broadcaster_for(broadcasting, coder: ActiveSupport::JSON)public
Returns a broadcaster for a named `broadcasting` that can be reused. Useful when you have an object that may need multiple spots to transmit to a specific broadcasting over and over.