We know using pipe in template can improve the performance。And pipe is essentially a function, will be called only when the params value has been changed.
So I think it can provide a pipe to excute a function which be provided by developers, it will be more flexible because we don't need to defined a new pipe, we only should provide a function and using callFn pipe to excute it, then the function will be called only when the params value has been changed
version:
v16.1.0
We know using pipe in template can improve the performance。And pipe is essentially a function, will be called only when the params value has been changed. So I think it can provide a pipe to excute a function which be provided by developers, it will be more flexible because we don't need to defined a new pipe, we only should provide a function and using callFn pipe to excute it, then the function will be called only when the params value has been changed