This is an app example to understand how rxjs operators work. You can start navigating types and operators to see some explanations and code snippets. For more information you can take a look at these links.
creation : These operators allow the creation of an observable from nearly anything. From generic to specific use-cases you are free, and encouraged, to turn everything into a stream.
of() {
this.data = [1, 2, 3, 4];
const source = of(this.data);
source.subscribe((data) => {
this.result = data + 'text';
});
}