Only guessing but I was tempted to do the same because there’s a potential for race condition (explained here: Streaming from background job and race conditions), but (in my case at least) it’s 100% a hack.
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
|
Streaming from background job and race conditions
|
7 | 243 | April 29, 2025 | |
|
Issue with turbo frame, turbo stream on record update after background job process
|
1 | 74 | March 12, 2025 | |
|
Can't get broadcast to work! What am I doing wrong
|
1 | 2066 | October 27, 2022 | |
|
Returning turbo_frame and broadcasting is a legit way to speed up performance?
|
1 | 856 | August 28, 2023 | |
|
Where is broadcasts_to explained?
|
2 | 3690 | April 4, 2021 |