Sha256: b28adf8fbbf8a0f64729fd1d63d9d337031075463d82ccf85d2c1f6828961c55

Contents?: true

Size: 219 Bytes

Versions: 20

Compression:

Stored size: 219 Bytes

Contents

class Turbo::Streams::BroadcastStreamJob < ActiveJob::Base
  discard_on ActiveJob::DeserializationError

  def perform(stream, content:)
    Turbo::StreamsChannel.broadcast_stream_to(stream, content: content)
  end
end

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
turbo-rails-2.0.11 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.10 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.9 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.8 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.7 app/jobs/turbo/streams/broadcast_stream_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_stream_job.rb
turbo-rails-2.0.6 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.5 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.4 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.3 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.2 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.1 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0.pre.rc.3 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0.pre.rc.2 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0.pre.rc.1 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0.pre.beta.4 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0.pre.beta.3 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0.pre.beta.2 app/jobs/turbo/streams/broadcast_stream_job.rb
turbo-rails-2.0.0.pre.beta.1 app/jobs/turbo/streams/broadcast_stream_job.rb