Method: Turbo::Broadcastable#broadcast_render_later_to

Defined in:
app/models/concerns/turbo/broadcastable.rb

#broadcast_render_later_to(*streamables, **rendering) ⇒ Object

Same as broadcast_prepend_to but run with the added option of naming the stream using the passed streamables.



219
220
221
# File 'app/models/concerns/turbo/broadcastable.rb', line 219

def broadcast_render_later_to(*streamables, **rendering)
  Turbo::StreamsChannel.broadcast_render_later_to *streamables, **broadcast_rendering_with_defaults(rendering)
end