instance method broadcast_refresh_later_to

Ruby on Rails 2.0.23

Since v2.0.23 Last seen in v2.0.23

Signature

broadcast_refresh_later_to(*streamables, **attributes)

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

Parameters

streamables rest
attributes keyrest
Source
# File app/models/concerns/turbo/broadcastable.rb, line 445
  def broadcast_refresh_later_to(*streamables, **attributes)
    Turbo::StreamsChannel.broadcast_refresh_later_to(*streamables, request_id: Turbo.current_request_id, **attributes) unless suppressed_turbo_broadcasts?
  end

Defined in app/models/concerns/turbo/broadcastable.rb line 445 · 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