mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
docs(docs-infra): fix typo in tap into the observable tutorial example (#52359)
PR Close #52359
This commit is contained in:
@@ -179,7 +179,7 @@ Because each service method returns a different kind of `Observable` result, `ha
|
||||
|
||||
### Tap into the Observable
|
||||
|
||||
The `getHeros()` method taps into the flow of observable values and sends a message, using the `log()` method, to the message area at the bottom of the page.
|
||||
The `getHeroes()` method taps into the flow of observable values and sends a message, using the `log()` method, to the message area at the bottom of the page.
|
||||
|
||||
The RxJS `tap()` operator enables this ability by looking at the observable values, doing something with those values, and passing them along.
|
||||
The `tap()` callback doesn't access the values themselves.
|
||||
|
||||
Reference in New Issue
Block a user