Is it possible to have a function return data to the caller function but continue its execution?
I'm maintaining a web app that requires a client service to be running in the background on the machine of whomever is using the app. The server connects to the client of the user via RPC. The client is a set of python scripts that are stored on GitHub and it needs to be updatable using a button on the web app. The update requires the client to pull the latest code from GitHub and then restart itself. What I want is for the update method inside of the client to post back information to the server concerning the status of the update, which will then be displayed to the user. So this information would be something like: "Downloading from GitHub...", "Finished downloading. Restarting", "Successfully updated."