
I have a function that makes asynchronous calls to different Appwrite collections. This is how I make the call:
TypeScript
await Promise.allSettled([
deleteAllPosts(userId),
removeAllAvatars(userId),
removeAllReplies(userId),
removeAllItems(userId),
deleteUserHistory(userId)
]);
I asked gpt if I can optimize this process more, and it recommended to use p-limit
. Is Appwrite compatible with p-limit
?
TL;DR
Developers asking about `p-limit` compatibility with Appwrite for optimizing asynchronous calls in their code. They are currently using `Promise.allSettled` for multiple Appwrite collection operations.Recommended threads
- CRUD Operations don't work
Hey all, Create, update, and delete is not working for the Appwrite database. The database seems down. When will it be solved? As I can see from the other suppo...
- Is my approach for deleting registered u...
A few weeks ago, I was advised not to use the registered users' id in my web app. Instead, I store the publicly viewable information such as username and email ...
- Stuck in "deleting"
my parent element have relationship that doesnt exist and its stuck in "deleting", i cant delete it gives me error: Collection with the requested ID could not b...
