W3C home > Mailing lists > Public > public-payments-wg@w3.org > February 2016

Re: [webpayments] Should we expose status change events in the browser API? (#41)

From: Dave Longley <notifications@github.com>
Date: Fri, 12 Feb 2016 08:12:58 -0800
To: w3c/webpayments <webpayments@noreply.github.com>
Message-ID: <w3c/webpayments/issues/41/183391069@github.com>
@jakearchibald,

> Both waitUntil and respondWith take a promise. This means the API knows that an action completes, when it fails, and what the eventual value is, which is useful in the case of respondWith.

I agree. This is the pattern we were looking for.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/41#issuecomment-183391069
Received on Friday, 12 February 2016 16:13:51 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:43:14 UTC