module Turbo::Broadcastable

def broadcast_action_to(*streamables, action:, target: broadcast_target_default, **rendering)

clearance.broadcast_action_to examiner.identity, :clearances, action: :prepend, target: "clearances"
# to the stream named "identity:2:clearances"
# Sends

Broadcast a named action, allowing for dynamic dispatch, instead of using the concrete action methods. Examples:
def broadcast_action_to(*streamables, action:, target: broadcast_target_default, **rendering)
  Turbo::StreamsChannel.broadcast_action_to(*streamables, action: action, target: target, **broadcast_rendering_with_defaults(rendering))
end