Thank you, I think the rate limit api connection here is a different process
Thank you, I think the rate limit api connection here is a different process







const res = await fetch(`/api/something`, { method: "POST" });
const stream = res.body?.getReader();
while (true) {
if (!stream) {
// break
}
const { done, value } = await stream.read();
if (!value) break;
updateProgress(value);
if (done) break;
}