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

Re: [webpayments] What is the appropriate conversational pattern for the API? (#55)

From: Adrian Hope-Bailie <notifications@github.com>
Date: Tue, 16 Feb 2016 00:15:22 -0800
To: w3c/webpayments <webpayments@noreply.github.com>
Message-ID: <w3c/webpayments/issues/55/184570020@github.com>
> If there a no event listeners then nothing happens and that's perfectly reasonable.

Not if the next step that the browser must perform is dependent on the response from the website.

This is exactly why the event pattern isn't ideal for this use case (requesting data from the website). It breaks if there are no listeners and the event emitter is depending on there being one that will respond to the event.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webpayments/issues/55#issuecomment-184570020
Received on Tuesday, 16 February 2016 08:15:56 UTC

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