Rank 2: Process
When I execute a function marked with xasync it doesn't return the result, is this expected? If yes, then how can
I get the result?
Votes
0
Replies
5
Participants
Unknown
Messages
6
Rank 2: Process
When I execute a function marked with xasync it doesn't return the result, is this expected? If yes, then how can
I get the result?
Yes
You can get it by running it in sync mode or by getting the execution with the corresponding API endpoint
Rank 5: Hypervisor
if you set the xasync parameter into true, it indicates that you want to run your cloud function in background. Hence, you will not get the result, since it runs in the background.
Otherwise, if you set false, it indicates that you are going to wait until the function process is done. It means, it is expected that the function will returns a result.
how to get the response of the execution? There is properties called responseBody in the Execution Model of appwrite.
Rank 2: Process
ok, thanks
[SOLVED] Functions async