Sha256: 83afb918c59516f9872ad2a7e1d372438bc8c80cdcfe7712218a7858d8ad6851
Contents?: true
Size: 344 Bytes
Versions: 10
Compression:
Stored size: 344 Bytes
Contents
# The job that powers all the <tt>broadcast_$action_later</tt> broadcasts available in <tt>Turbo::Streams::Broadcasts</tt>. 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
Version data entries
10 entries across 10 versions & 1 rubygems