TIL:
const response = new Response(readableStream);
const blob = await response.body();
…will collect the stream into a nice, neat Blob for you.
... works as a web developer in Hveragerði, Iceland, and writes about the web, digital publishing, and web/product development
These are his notes
TIL:
const response = new Response(readableStream);
const blob = await response.body();
…will collect the stream into a nice, neat Blob for you.