- From: Takeshi Yoshino <notifications@github.com>
- Date: Mon, 16 Mar 2015 06:09:58 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 16 March 2015 13:12:18 UTC
> }
>
> - _rejectClosedPromise(reason) {
> - this._closedPromise_reject(reason);
> - this._closedPromise_resolve = null;
> - this._closedPromise_reject = null;
> + return undefined;
> +}
> +
> +function CreateReadableStreamCloseFunction(stream) {
> + return () => {
> + if (stream._state !== 'readable') {
> + return undefined;
It's out of the main topic of the PR, but don't we want to say "you're making a mistake" when close()-ed twice or more?
---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/296/files#r26482133
Received on Monday, 16 March 2015 13:12:18 UTC