Re: [w3c/payment-request] Response timeout could leave page/user in confused state. (#737)

Could we allow `complete()` to accept a `Promise`.

The `Promise` returned by `complete()` could resolve/reject based on that Promise (and to the same value).

A developer with long running login that they must perform (even a chain of async calls) can wrap these behind a Promise and pass to `complete()`. If `complete()` is passed a promise it should never timeout.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/payment-request/issues/737#issuecomment-400788946

Received on Wednesday, 27 June 2018 18:44:35 UTC