Check out example codes for "empty observable rxjs". It will help you in understanding the concepts better.

Code Example 1

import { of} from 'rxjs';

of(); //creates empty Observable

Learn ReactJs, React Native from akashmittal.com