Skip to content

Commit

Permalink
Add empty algorithm shells for all of the operators (except first())
Browse files Browse the repository at this point in the history
  • Loading branch information
domfarolino committed Jan 2, 2024
1 parent 6e78538 commit c050f57
Showing 1 changed file with 83 additions and 0 deletions.
83 changes: 83 additions & 0 deletions spec.bs
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,89 @@ callback). The return value of {{EventTarget/on()}} is an example of the latter.

For now, see [https://github.com/wicg/observable#operators](https://github.com/wicg/observable#operators).

<h4 id=observable-from>{{Observable/from()}}</h4>

<p class=XXX>Spec the exact semantics of {{Observable/from()}} conversion.</p>

<h4 id=observable-returning-operators>{{Observable}}-returning operators</h4>

<div algorithm>
The <dfn for=Observable method><code>takeUntil(|notifier|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |notifier|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>map(|mapper|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |mapper|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>filter(|predicate|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |predicate|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>take(|amount|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |amount|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>drop(|amount|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |amount|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>flatMap(|mapper|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |mapper|.</span>
</div>


<h4 id=promise-returning-operators>{{Promise}}-returning operators</h4>

<div algorithm>
The <dfn for=Observable method><code>toArray(|options|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |options|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>forEach(|callback|, |options|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |callback| and |options|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>every(|predicate|, |options|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |predicate| and |options|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>find(|predicate|, |options|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |predicate| and |options|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>some(|predicate|, |options|)</code></dfn> method steps are:

1. <span class=XXX>TODO: Spec this and use |predicate| and |options|.</span>
</div>

<div algorithm>
The <dfn for=Observable method><code>reduce(|reducer|, |initialValue|, |options|)</code></dfn>
method steps are:

1. <span class=XXX>TODO: Spec this and use |reducer|, |initialValue|, and |options|.</span>
</div>


<h2 id=event-target-integration>{{EventTarget}} integration</h2>

<pre class=idl>
Expand Down

0 comments on commit c050f57

Please sign in to comment.