module Turbo::Broadcastable
def broadcast_update_to(*streamables, **rendering)
# to the stream named "identity:2:clearances"
# Sends
Other partial
clearance.broadcast_update_to examiner.identity, :clearances
# to the stream named "identity:2:clearances"
# Sends
My Clearance
streamables. The rendering parameters can be set by appending named arguments to the call. Examples:
Update this broadcastable model in the dom for subscribers of the stream name identified by the passed
def broadcast_update_to(*streamables, **rendering) Turbo::StreamsChannel.broadcast_update_to(*streamables, target: self, **broadcast_rendering_with_defaults(rendering)) end