Skip to content

Commit

Permalink
Small from() operator follow-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Jan 25, 2025
1 parent a89d7c5 commit 2538ee1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,8 @@ An <dfn>internal observer</dfn> is a [=struct=] with the following [=struct/item
is an {{Observable}}, then return |value|.

1. Issue: Spec the <i><b>From async iterable</b></i> conversion steps which take place before
the iterable conversion steps.
the iterable conversion steps. See <a
href=https://github.com/WICG/observable/issues/191>issue #191</a>.

1. <i id=from-iterable-conversion><b>From iterable</b></i>: Let |iteratorMethod| be [=?=]
[$GetMethod$](|value|, {{%Symbol.iterator%}}).
Expand Down Expand Up @@ -546,6 +547,10 @@ An <dfn>internal observer</dfn> is a [=struct=] with the following [=struct/item
{{Subscriber/error()}} method, given |r|.

1. [=exception/Throw=] a {{TypeError}}.

<wpt>
/dom/observable/tentative/observable-from.any.js
</wpt>
</div>

<div algorithm>
Expand Down Expand Up @@ -679,7 +684,7 @@ For now, see [https://github.com/wicg/observable#operators](https://github.com/w
1. Let |sourceObservable| be [=this=].

1. Let |notifier| be the result of <a for=Observable lt="convert to an Observable">
converting</a> |value| to an Observable.
converting</a> |value| to an {{Observable}}.

1. Let |observable| be a [=new=] {{Observable}} whose [=Observable/subscribe callback=] is an
algorithm that takes a {{Subscriber}} |subscriber| and does the following:
Expand Down

0 comments on commit 2538ee1

Please sign in to comment.