Class: TurboReady::BroadcastInvokeJob
- Inherits:
-
ActiveJob::Base
- Object
- ActiveJob::Base
- TurboReady::BroadcastInvokeJob
- Includes:
- TagHelper
- Defined in:
- app/jobs/turbo_ready/broadcast_invoke_job.rb
Instance Method Summary collapse
Methods included from TagHelper
Instance Method Details
#perform(*streamables, method, **kwargs) ⇒ Object
6 7 8 |
# File 'app/jobs/turbo_ready/broadcast_invoke_job.rb', line 6 def perform(*streamables, method, **kwargs) Turbo::StreamsChannel.broadcast_stream_to(*streamables, content: turbo_stream_invoke_tag(method, **kwargs)) end |