- From: guest271314 <notifications@github.com>
- Date: Thu, 22 Mar 2018 17:07:31 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 22 March 2018 17:08:08 UTC
Two additional alternative approaches 1. Create and use a `CustomEvent` with type set to `"progress"`, dispatch the event with `bytesSoFar` and `resolve` argument of `Promise` executor set at `detail` property of `.dispatchEvent()`; which provides a means to halt further write (or read) until the `Promise` is fulfilled; 2. For remote connections under the developers control, `EventSource` can be used as a persistent streaming connection (until closed) to get the bytes received at or sent from the remote connection. -- 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/876#issuecomment-375383571
Received on Thursday, 22 March 2018 17:08:08 UTC