- From: Adam Rice <notifications@github.com>
- Date: Mon, 19 Aug 2019 18:11:36 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 20 August 2019 01:11:58 UTC
ricea 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 => {
We can use PerformPromiseThen() here and it will be closer to [the description in the promises guide](https://www.w3.org/2001/tag/doc/promises-guide/#transforming-by).
--
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#pullrequestreview-276887426
Received on Tuesday, 20 August 2019 01:11:58 UTC