Re: [streams] Getting errored/closed reader, Auto-releasing reader, Forcible cancel() on a stream (#297)

I see. Should we also address pipeTo() cancellation issue by the cancellable promises?

```
const p = rs.pipeTo(dest);
p.cancel();
```

or

```
const p = rs.pipeTo(dest, { ..., canceller });
canceller.cancel();
```

Wouldn't the latter be implemented adopting the revealing constructor pattern?

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

Received on Monday, 16 March 2015 04:08:30 UTC