turn promise into observable code example Example: rxjs promise to observable import { from } from 'rxjs'; const observable = from(promise);