
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
- OVH rejects Appwrite's name servers
I'm trying to point my domain's NS to Appwrite's ones, but OVH returns the following error: `You need to register ns1.appwrite.zone in order to associate this d...
- Can't create a function. The user interf...
I am trying to create a server-side function. I am on the free tier. **I already have three functions that work properly** that I created a few months ago. Now,...
- Data Diet Needed
I love the nested related data... but can we request limited data? I think my requests need to go on a diet. I return my courses, and the units all come with th...
