The big picture is that I want to live upload recorded audio from the browser directly to google drive.
This is a pet project so I am happy to play with experimental web technologies.
I currently have the browser fetching a feed from the microphone…
My question concerns error handling of a reader from a ReadableStreamDefaultReader. I'm guessing that a Promise rejection from reader.read() would usually indicate a network failure for a fetch request (in which case i'm guessing that it is NOT safe…
Say I have a ReadableStream object (from the Streams API web standard):
let readableStream = (await fetch('http://example.com')).body;
I know I can read it chunk by chunk, where the chunk size usually depends on the network:
for await (let chunk of…
I am trying to stream the response of fetch(very large tar file) to a file using streamsaver library. But the file is not created/written, even though "done writing" is printed in the console.
Here is my code.
const fileStream =…
So I am working on creating a native app for Whatsapp business users so that they can use this app to effectively chat with their contacts on Whatsapp. This mean that if another user messages a business user on Whatsapp then the business user is…
I am struggling through learning JQuery/Javascript and have a web application using the chrome "experimental" web serial API. When I enter a command and get a response back, this string is broken into 2 pieces in a random place, usually in the first…
I am using the ReadableStream API to stream blocks of a large CSV file of 128 MB with more than 300,000 rows of data. I have followed the MDN ReadableStream documentation to create a ReadableStream and enqueue chunks, but somehow the ReadableStream…
I am very confused on Deno documentation. It has ReadableStream and WritableStream API, but it doesn’t have a documentation to use it.
I want to read from ReadableStream and write to WritableStream, how can I do that in Deno?