async await + toPromise hangs
问题 I'm using ngx-stripe , 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. I wanted to know whether I'm using the toPromise correctly : import { Elements, Element as StripeElement, ElementsOptions, BankAccountData, StripeService } from 'ngx-stripe'; constructor( public stripeService: