I like the readability provided by
observable
.pipe(operator1)
.pipe(operator2)
.pipe(operator3)
.subscribe()
And it reminds me of a chain of thens for a promise.
But I know this is in every documentation example
observable
.pipe(
operator1,
operator2,
operator3
).subscribe()
Is there something lost in doing the first thing over the second? I am probably missing some crucial information here and maybe it's very obvious, actually. Thanks for the help.
lost? The first example runs more code because you executepipemultiple times. The outcome is the same. - frido