Re: [streams] Transform streams and acknowledgement of writes (#329)

I guess we should clearly distinguish write-with-ack and write-and-forget interface by providing two different getters. Or, we cannot determine whether the stream should return the given buffer or not. If it's not required to return it to the producer, the stream can pass it to the consumer ((a) in https://github.com/whatwg/streams/issues/329#issuecomment-106719172).

```
class IdentityTransformStreamWritableSide {
  getWriter()
  getBufferBorrowingWriter()
  getBufferProvidingWriter()
}
```

```
class IdentityTransformStreamReadableSide {
  getReader()
  getByobReader()
  getBufferLendingReader()
}
```


---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/329#issuecomment-106780286

Received on Friday, 29 May 2015 11:40:24 UTC