How To broadcast from a background job?

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.