- From: Mattias Buelens <notifications@github.com>
- Date: Tue, 20 Aug 2019 10:44:19 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 August 2019 17:44:41 UTC
MattiasBuelens commented on this pull request.
> @@ -325,7 +325,7 @@ function TransformStreamDefaultControllerError(controller, e) {
function TransformStreamDefaultControllerPerformTransform(controller, chunk) {
const transformPromise = controller._transformAlgorithm(chunk);
- return transformPromise.catch(r => {
+ return PerformPromiseCatch(transformPromise, r => {
You mean like this?
```javascript
return PerformPromiseThen(transformPromise, undefined, r => { /* ... */ });
```
I think it's a bit weird to not have a fulfillment handler. But yes, it would be more accurate. I'll change it.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/1010#discussion_r315819821
Received on Tuesday, 20 August 2019 17:44:41 UTC