How to notify a user after background task is finished?
<p>I use rails with <code>ActiveJob</code> and <code>sidekiq</code> as backend. When user come on a page <code>sidekiq</code> create a long-term background task, how can I notice a user (by render partial on the web page) when a task would be completed? </p>

<p>Rails and sidekiq work as different processes. This fact confused me I don't understand how to handle completed status using background job.</p>