News for hackers. Stuff that matters.
Re:jQuery 4.1.0 by bastawhiz on Tuesday November 17, 2026 @07:52PM (#50540444)
It's actually a little easier these days:

  const response = await fetch("/stream");
  for await (const value of response.body) {
    console.log("Received", value.length, "bytes");
  }
  console.log("Finished")

There are no comments on this comment yet.