Sort of, but not really (again, seems things were added in a rush to go to FPWD without wide review😢)...
Why do we have two interfaces with identical method signatures? We should just have a single `AsyncDataStore` interface for `PaymentWallets` and `PaymentInstruments`. That is:
```
readonly attribute AsyncDataStore instruments;
readonly attribute AsyncDataStore wallets;
```
We should really be talking to the IDB folks and aligning here on an interface.
What is currently there is not clear because there is no real transactional semantics for what happens if:
```JS
Promise.all([x.add("1"), x.clear(), x.add("2")]);
```
As they all run in parallel without an associated task queue.
--
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/webpayments-payment-handler/issues/129#issuecomment-300059508