title: async await + toPromise hangs
body: <p>I'm using <a href="https://github.com/richnologies/ngx-stripe" rel="noreferrer">ngx-stripe</a> , and the createToken returns an Observable which I've tried to convert to a promise so that I can use Async/await. However, it looks as though the promise dosen't resolve. Debugging doesn't reveal anything, and my try/Catch blocks doesn't capture any errors. </p>
  
  <p>I wanted to know whether I'm using the toPromise correctly :</p>
  
  <pre><code>import {
      Elements,
      Element as StripeElement,
      ElementsOptions,
      BankAccountData,
      StripeService
  } from 'ngx-stripe';
  
  constructor(
      public stripeService: StripeService,
  
  ) {}
  
  
  
  async next() {
      let token: any;
      let account: BankAccountData = {
          country: this.country,
          currency: this.currency,
          account_holder_name: this.first_name + " " + this.last_name,
          account_holder_type: this.type,
          account_number: account_number,
          routing_number: routing_number
      };
  
      console.log("--&gt; Creating Bankaccount Token", account);
  
      try {
          token = await this.stripeService.createToken("bank_account", account).toPromise();
      } catch (excep) {
          console.log(excep);
      }
  
      console.log("--&gt;Token Generated : ", token);
  }
  </code></pre>
  
  <h3>EDIT</h3>
  
  <p>Debugger - if it helps. This is the last console output: </p>
  
  <blockquote>
    <p>Creating Bankaccount Token {country: "AU", currency: "aud", account_holder_name: "Someone Name", account_holder_type: "individual", account_number: "000123456", …}</p>
  </blockquote>
  
  <p><a href="https://i.stack.imgur.com/VYcfj.png" rel="noreferrer"><img src="https://i.stack.imgur.com/VYcfj.png" alt="enter image description here"></a></p>
  
  <p>*************************EDIT ***********************
  I'm not sure why, but the code worked when I created a stackblitz. </p>
  
  <p>I then compared the libraries in stackblitz and updated my angular, rxjs, rxjs-compat to match what was in stackblitz and tried again and I was getting the same result as before. </p>
  
  <p>I then removed the toPromise() and changed it to :</p>
  
  <pre><code>this.stripeService.createToken("bank_account", account).subscribe(data =&gt; {
                 console.log(data);
               });
  </code></pre>
  
  <p>I'm not sure what is limiting what my project has compared to what's in stackblitz. I'm not sure how to work out what the problem is, and the only thing I can think of is rebuilding the project from scratch. </p>