instance method broadcast_action_later_to

Ruby on Rails 2.0.23

Since v1.3.3 Last seen in v2.0.23

Available in: v1.3.3 v1.4.0 v1.5.0 v2.0.23

Signature

broadcast_action_later_to(*streamables, action:, target: broadcast_target_default, attributes: {}, **rendering)

Same as broadcast_action_to but run asynchronously via a Turbo::Streams::BroadcastJob.

Parameters

streamables rest
action keyreq
target key = broadcast_target_default
attributes key = {}
rendering keyrest
Source
# File app/models/concerns/turbo/broadcastable.rb, line 455
  def broadcast_action_later_to(*streamables, action:, target: broadcast_target_default, attributes: {}, **rendering)
    Turbo::StreamsChannel.broadcast_action_later_to(*streamables, action: action, attributes: attributes, **extract_options_and_add_target(rendering, target: target)) unless suppressed_turbo_broadcasts?
  end

Defined in app/models/concerns/turbo/broadcastable.rb line 455 · View on GitHub · Improve this page · Find usages on GitHub

Defined in Turbo::Broadcastable

Type at least 2 characters to search.

↑↓ navigate · open · esc close