- From: Tejas Kumar <notifications@github.com>
- Date: Thu, 02 Nov 2017 09:48:01 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 November 2017 09:48:27 UTC
TejasQ commented on this pull request. > +<div class="non-normative"> + +<em>This section is non-normative.</em> + +If one were to write the {{TransformStreamDefaultController}} class in something close to the syntax of [[!ECMASCRIPT]], +it would look like + +<pre><code class="lang-javascript"> + class TransformStreamDefaultController { + constructor(stream) + + get desiredSize() + + enqueue(chunk) + error(reason) + terminate() That's awesome. Definitely a lesson in there for me. Thanks, @ricea. -- 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/811#discussion_r148482637
Received on Thursday, 2 November 2017 09:48:27 UTC