- From: Domenic Denicola <notifications@github.com>
- Date: Sun, 16 Oct 2016 19:28:17 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 17 October 2016 02:28:45 UTC
domenic commented on this pull request.
> + if (this.started) {
+ this.paused = true;
+ clearInterval(this._intervalHandle);
+ this._intervalHandle = undefined;
+ } else {
+ throw new Error('Can\'t pause reading an unstarted source.');
+ }
+ }
+ }
+
+ function randomChunk(size) {
+ let chunk = '';
+
+ for (let i = 0; i < size; ++i) {
+ // Add a random character from the basic printable ASCII set.
+ chunk += String.fromCharCode(Math.round(Math.random() * 84) + 32);
Agreed, but again this is a preexisting file upstream.
--
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/pull/512
Received on Monday, 17 October 2016 02:28:45 UTC