diff --git a/aio/content/guide/http.md b/aio/content/guide/http.md index f5d3cf009e..ef7002a693 100644 --- a/aio/content/guide/http.md +++ b/aio/content/guide/http.md @@ -957,11 +957,11 @@ as happens in the `search()` method. Rather than forward every `searchText` value directly to the injected `PackageSearchService`, the code in `ngOnInit()` pipes search values through three operators, so that a search value reaches the service only if it's a new value and the user has stopped typing. -* `debounceTime(500)`&emdash;Wait for the user to stop typing (1/2 second in this case). +* `debounceTime(500)`⁠—Wait for the user to stop typing (1/2 second in this case). -* `distinctUntilChanged()`&emdash;Wait until the search text changes. +* `distinctUntilChanged()`⁠—Wait until the search text changes. -* `switchMap()`&emdash;Send the search request to the service. +* `switchMap()`⁠—Send the search request to the service. The code sets `packages$` to this re-composed `Observable` of search results. The template subscribes to `packages$` with the [AsyncPipe](api/common/AsyncPipe)