- From: Tejas Kumar <notifications@github.com>
- Date: Thu, 02 Nov 2017 08:42:50 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 2 November 2017 08:43:12 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() I find it interesting that we have `cancel()`, `terminate()`, and `close()`. -- 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#pullrequestreview-73714768
Received on Thursday, 2 November 2017 08:43:12 UTC