I\'d like to be able to await on an observable, e.g.
const source = Rx.Observable.create(/* ... */) //... await source;
A naive attempt res
You will need to await a promise, so you will want to use toPromise(). See this for more details on toPromise().
await
toPromise()