Angular - RxJS Operators
Which of the following correctly describes this usage of
tap? import { of } from 'rxjs';
import { tap } from 'rxjs/operators';
of(1, 2, 3).pipe(
tap({
next: x => console.log(x),
error: err => console.error(err)
})
).subscribe();