Handling Long Processes in Endpoint Responses
Hi,
I have an endpoint that start a long process and I want to answer the client without waiting for the process to finish (it calls a third party API streaming answer during a few minutes).
Q1: I've done it with
Q2: Can I set some kind of
I have an endpoint that start a long process and I want to answer the client without waiting for the process to finish (it calls a third party API streaming answer during a few minutes).
Q1: I've done it with
forkDaemon, is the the right/best way to do it ?Q2: Can I set some kind of
timeout to ensure the daemon fiber will be interrupted if the process never ends ?