the business needs a button at the front end, which is clicked and submitted to the background to execute a time-consuming background task, which takes about a few minutes to dozens of minutes, and the front end needs to know the result of the task execution (success, failure, execution).
if you use a normal ajax request, the page will time out because it takes too long.
if you implement the function of submitting a request, polling execution status, and displaying the front end in real time, it will be complicated and unreliable.
are there any ready-made plug-ins or functions that can be implemented? If you implement it on your own, how to do it is more simple and reliable?