What does the .subscribe() function do? - Stack Overflow
The .subscribe() function is similar to the Promise.then(), .catch() and .finally() methods in jQuery, but instead of dealing with promise s it deals with Observable s. That means it will subscribe itself to the obser...