Custom Operators
Learn how to build a custom RxJS operator from scratch.
We'll cover the following...
Now that you know the majority of RxJS operators that exist out there, you might wonder if you can create your own custom operators.
The answer is yes! And it’s very easy.
Every operator is an Observable, which applies to a source Observable. The source Observable might be the original source or an Observable released by the operator before the current operator. With this knowledge, let’s first have a look at a problem, and create a custom operator that would help us solve it.
Publishing and modifying objects
The following scenario illustrates an object that contains data from a submitted ...