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
- I recently switched to TablesDb. When li...
olddb.list_documents( queries =[ Query.order_desc("timestamp"), Query.equal("isPosted",[False]) ] ) Above works fine and reruns documents But below don't return...
- Database error validating 'min' and 'max...
I keep seeing an error when I try to add a column to a database table within the AppWrite cloud UI. I also see this error when trying to create or update a reco...
- Cannot create cloud function due to this...
As I try to deploy a new function to Github I get this error message: ``` Unable to clone code repository: fatal: ' ' is not a valid branch name hint: See `man ...