Fire and forget http-request

Hi all,
I have an application that needs to call a logging API. The logging operation (on the API side) is rather slow, and I don't need the application to wait for this to finish.

Is there some nice way to implement this? I've tried calling the API asynchronously with callr::r_bg, but this has the issue that the background process R6 object seems to get removed before it receives the response, as the parent calling function finishes before (which is intended).

Thanks in advance

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.