Skip to content

Commit

Permalink
review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lucacasonato committed Jul 18, 2024
1 parent e85e52a commit 28809cb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -2141,9 +2141,7 @@ The following abstract operations operate on {{ReadableStream}} instances at a h
1. Let |cancelAlgorithm| be the following steps, given |reason|:
1. Let |finishPromise| be the result of [=closing/close an async iterable=] |asyncIterable| with
reason |reason|.
1. Return the result of [=reacting=] to |finishPromise|:
- If |finishPromise| was fulfilled, return undefined.
- If |finishPromise| was rejected with reason |r|, throw |r|.
1. Return |finishPromise|.
1. Set |stream| to ! [$CreateReadableStream$](|startAlgorithm|, |pullAlgorithm|, |cancelAlgorithm|,
0).
1. Return |stream|.
Expand Down

0 comments on commit 28809cb

Please sign in to comment.