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:>
You can convert Observable to promise just by single line of code as below:
let promisevar = observable.toPromise()
Now you can use then on the promisevar to apply then condition based on your requirement.
promisevar.then('Your condition/Logic');