method

broadcaster_for

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.