docs: fix table in comparing observables guide (#22485)
PR Close #22485
This commit is contained in:
parent
66547d8fd0
commit
8d0f8bd657
@ -89,11 +89,14 @@ promise.then(() => {
|
|||||||
The following code snippets illustrate how the same kind of operation is defined using observables and promises.
|
The following code snippets illustrate how the same kind of operation is defined using observables and promises.
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th>Operation</th>
|
<th>Operation</th>
|
||||||
<th>Observable</th>
|
<th>Observable</th>
|
||||||
<th>Promise</th>
|
<th>Promise</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Creation</td>
|
<td>Creation</td>
|
||||||
<td>
|
<td>
|
||||||
@ -130,6 +133,7 @@ The following code snippets illustrate how the same kind of operation is defined
|
|||||||
<td><pre>sub.unsubscribe();</pre></td>
|
<td><pre>sub.unsubscribe();</pre></td>
|
||||||
<td>Implied by promise resolution.</td>
|
<td>Implied by promise resolution.</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
## Observables compared to events API
|
## Observables compared to events API
|
||||||
|
Loading…
x
Reference in New Issue
Block a user