From 20c1a3f406bd2b342ce27f91cc39912c00df9a28 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 15 Sep 2017 18:09:42 +0900 Subject: [PATCH] Don't be dismissive about the controller/stream division Closes #741. --- index.bs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/index.bs b/index.bs index f4507e715..b660daff5 100644 --- a/index.bs +++ b/index.bs @@ -2919,11 +2919,9 @@ writable stream is locked to a writer.

Writable Stream Abstract Operations Used by Controllers

-To allow future flexibility to add different writable stream behaviors (similar to the distinction between simple +To allow future flexibility to add different writable stream behaviors (similar to the distinction between default readable streams and readable byte streams), much of the internal state of a writable stream is -encapsulated by the {{WritableStreamDefaultController}} class. At this point in time the division of work between the -stream and its controller may seems somewhat arbitrary, but centralizing much of the logic in the controller is a useful -structure for the future. +encapsulated by the {{WritableStreamDefaultController}} class. The abstract operations in this section are interfaces that are used by the controller implementation to affect its associated {{WritableStream}} object, translating the controller's internal state changes into developer-facing results