Should I poll getExecution to know when a function has finished the execution?
TL;DR
To ensure that a function execution is completed and get the output in the response, set async=false when calling createExecution. This will make the request wait for the function to finish executing. There is no need to poll getExecution to check for completion.
Meldiron
3 Sep, 2023, 15:30
Heyy, either that, or when calling createExecution, set async=false. That way the request waits for it to finish, and you get function output in the response