I am working on an app that will run queries and return results to UI. However, these queries can take a long time to finish so I should not wait for the result. As far as I know, people use task queues in this case.
My question is when task queue returns the result, how do I send the result to UI since the http request is already finished by that point?
EDIT: I will be using