Angular - RxJS Operators
You want to log each value emitted by an HTTP request observable without changing the data. Which is the best way to do this using
tap? Consider this code:this.http.get('/api/data').pipe(
// What goes here?
).subscribe(data => this.process(data));