Re: [whatwg/streams] Add URL.createObjectURL(stream) support (#480)

> how long before interruptions take place? 

@benwiley4000 think it was something like 30s in FF and 5m in chrome can't remember; long time ago. might have changed also. The timer resets when an event comes in like a fetch, postMessage or a push event (https://github.com/w3c/ServiceWorker/issues/980)

Me and others would love to have long lived service worker...

> Do the tools you shared support download via URL?

not per say but you can do `fetch(request).then(response => response.body.pipeTo(writableStream))`

The StreamSaver and the native file system adapter lib keeps pinging the service worker with postMessage until the stream is closed (finished)

the native file system (only available in blink behind a flag) don't require service worker, you get a write handle to write chunks, blob, strings, arrayBuffer and arrayBufferView to. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/480#issuecomment-723129347

Received on Friday, 6 November 2020 15:07:34 UTC