mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
docs: Optimize server interaction - insert updated link. (#49438)
PR Close #49438
This commit is contained in:
parent
66fe827635
commit
ab3f8a3a7a
1 changed files with 6 additions and 0 deletions
|
|
@ -37,6 +37,12 @@ Rather than forward every `searchText` value directly to the injected `PackageSe
|
|||
The code sets `packages$` to this re-composed `Observable` of search results.
|
||||
The template subscribes to `packages$` with the [AsyncPipe](api/common/AsyncPipe) and displays search results as they arrive.
|
||||
|
||||
<div class="alert is-helpful">
|
||||
|
||||
See [Using interceptors to request multiple values](guide/http-interceptor-use-cases#cache-refresh) for more about the `withRefresh` option.
|
||||
|
||||
</div>
|
||||
|
||||
## Using the `switchMap()` operator
|
||||
|
||||
The `switchMap()` operator takes a function argument that returns an `Observable`.
|
||||
|
|
|
|||
Loading…
Reference in a new issue