1 min readMay 24, 2018
Yeah, it’s deprecated — along with a number of other operators that have static, factory-function equivalents.
You probably don’t need to write your own, though, as pipeable operators are just functions that take an observable and return an observable. So you can use the static combineLatest
with pipe
pretty easily, like this:
import { combineLatest } from "rxjs";
const c = a.pipe(s => combineLatest(s, b));
Although, you’d only do this if you were using it in conjunction with other pipeable operators.