
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

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.

ok, thanks

[SOLVED] Functions async
Recommended threads
- Appwrite messaging api error
```=== Push Notification Function Started === Endpoint: https://fra.cloud.appwrite.io/v1 Project: 6899062700398ffeae4f Database: threed-dating-db Notification f...
- function unable to detect client ip
Hi I have hosted appwrite on self hosted server. Currently I don't have any domain. I am accessing through ip. I have created one function which should detect t...
- Appwrite Cloud Function runs forever, ev...
It just keeps running, and there's no way to manually stop it.
