Sha256: 15f35205b59dfe4fafa0fd415c7028cd4110155db8d553f87eaac7fa51ba8170

Contents?: true

Size: 360 Bytes

Versions: 19

Compression:

Stored size: 360 Bytes

Contents

# The job that powers the <tt>broadcast_render_later_to</tt> available in <tt>Turbo::Streams::Broadcasts</tt> for rendering
# turbo stream templates.
class Turbo::Streams::BroadcastJob < ActiveJob::Base
  discard_on ActiveJob::DeserializationError

  def perform(stream, **rendering)
    Turbo::StreamsChannel.broadcast_render_to stream, **rendering
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
turbo-rails-2.0.11 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.10 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.9 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.8 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.7 app/jobs/turbo/streams/broadcast_job.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/turbo-rails-2.0.5/app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.6 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.5 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.4 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.3 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.2 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.1 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.0 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.0.pre.rc.3 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.0.pre.rc.2 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.0.pre.rc.1 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.0.pre.beta.4 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.0.pre.beta.3 app/jobs/turbo/streams/broadcast_job.rb
turbo-rails-2.0.0.pre.beta.2 app/jobs/turbo/streams/broadcast_job.rb