I'm currently using Appwrite's functions.createExecution
in my project. I want to avoid double requests when multiple actions (like searching or pagination) are triggered in quick succession.
When using fetch, I usually rely on AbortController with a signal to handle this. However, I'm unsure how to implement a similar approach with functions.createExecution
.
Here's an example of the code I’m using:
const result = await functions.createExecution(
"name_function",
undefined,
false,
`/path-to-function`,
ExecutionMethod.GET
);
Recommended threads
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...
- Project in AppWrite Cloud doesn't allow ...
I have a collection where the data can't be opened. When I check the functions, there are three instances of a function still running that can't be deleted. The...