method
broadcaster_for
v7.1.3.4 -
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.