
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
- 404 for self-host
docker-compose.yml: x-logging: &x-logging logging: driver: 'json-file' options: max-file: '5' max-size: '10m' services: traefik: ima...
- Realtime stuck on pending
I'm hosting appwrite on a server where there's already nginx running and you can see how it's config looks for appwrite on attachted screenshot. I'm not getting...
- Appwrite Cors Errors after domain added
So I'm working on an app for my company and I've added in my domain name as the hostname for the project as well as for the custom domain. But I'm still getti...
