Is there a way to write this two-piece reactive chain into one reactive chain?
I’m writing a piece of my project that works alongside Discord’s API. I’m processing a lot of data and it takes a few second (longer than 5 seconds) to finish processing everything, therefore what I wanted this method to do was to first, acknowledge the slash-command sent to my server and return the correct Discord ACK response, and second, in the background I wanted to process all the data that the user needs and when finally done, I could use Discord’s API to edit the original ACK with the data all processed. So for this, I wrote the following code: