Is there any difference between A and B? Are there any cases where one would behave differently than the other?
A)
observableHere
.pipe(
finalize(() => {
// Do stuff here
})
)
B)
observableHere
.pipe(
tap({
finalize: () => {
// Do stuff here
})
})
)