Q) How do I convert the following observable to a promise so I can call it with .then(...)?
.then(...)
My method I want to convert to a promise:>
observable can be converted to promise like this:
let promise=observable.toPromise();