Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,14 @@ An <dfn>internal observer</dfn> is a [=struct=] with the following [=struct/item
1. If |done|'s \[[Value]] is true, then run |subscriber|'s {{Subscriber/complete()}}
and abort these steps.

1. Run |nextAlgorithm|.
1. Let |value| be [$IteratorValue$](|iteratorResult|).

1. If |value| is a [=throw completion=], then run |subscriber|'s
{{Subscriber/error()}} method with |value|'s \[[Value]] and abort these steps.

1. Run |subscriber|'s {{Subscriber/next()}} given |value|'s \[[Value]].

1. Run |nextAlgorithm| given |subscriber| and |iteratorRecord|.

* If |nextPromise| was rejected with reason |r|, then run |subscriber|'s
{{Subscriber/error()}} method given |r|.
Expand Down