
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
- Expo-web session issue
In web I created a session using oauth. I run the app logged in but closed the terminal and ran again opened the app(I have now 2 running app in different...
- Appwrite Sites: Error on creating and u...
I'm getting errors on appwrite hosting nextjs application. It shows as default selected 1 VCPU, as I suppose to see only for 0.5VCPU. Also When adding additi...
- Custom domain verification not working e...
I want to use a custom domain **api-preprod.funprono.com** for my API. I successfully added a CNAME entry with my registrar **Infomaniak**, but the verificatio...
