# The job that powers all the broadcast_$action_later broadcasts available in Turbo::Streams::Broadcasts.
class Turbo::Streams::ActionBroadcastJob < ActiveJob::Base
def perform(stream, action:, target:, **rendering)
Turbo::StreamsChannel.broadcast_action_to stream, action: action, target: target, **rendering
end
end