
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
- Function running in cloud but not locall...
Hi everyone, I have an appwrite function which is on python3.12 runtime. I have a library (hnswlib) which builds wheels during installation. This works on appwr...
- Permissions for bulk operation
Hi team, I have a question: βIn the databases.createDocuments bulk API, can I set document-level permissions? If yes, how exactly should I include the permissio...
- Limit File Upload count?
Is there a way to limit the number of files a user can upload? I know there's a limit of file size but in my case I'd like to limit the user to only upload x am...
