- From: Takeshi Yoshino <notifications@github.com>
- Date: Sun, 15 Mar 2015 21:08:04 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 16 March 2015 04:08:30 UTC
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