You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspiration being drawn from Svelte's query batching, where multiple queries that are triggered within the same microtask are batched to be one single API call. The backend parses each query individually but wraps the result in one response. Behind the scenes the JS API receives the response and splits it, delivering each result to its appropriate promise and returning it to its appropriate function.
This basically means that if your frontend does a several API calls at one instant but in different parts of the app (e.g. during initial load), rather than sending 5 http requests right away, each call is "glued", send as one http request, parsed individually in pocketbase, and returned as one. But from the perspective of the frontend the experience is seamless, because each of 5 queries receive an individual resolution corresponding to their query.
At scale I'm sure this can help be quite impactful for performance and efficiency.