RxJS get data from async methods — similar to promise.then, async await…

import { Observable } from 'rxjs;
Copy the code