- From: Daniel Ehrenberg via GitHub <sysbot+gh@w3.org>
- Date: Wed, 05 Dec 2018 08:08:21 +0000
- To: public-web-nfc@w3.org
>From the outside, NFCReader and NFCWriter sound like good names to me, and the EventTarget "filter" pattern makes sense. I agree with @reillyeon that instances of a class don't need to correspond 1:1 with pieces of hardware. Thinking of a filter that outputs an EventTarget reminds me of patterns with Observables, which might be nice here from a perspective making an interface which works in Node.js as well, though WebNFC is a bit too tied to origins to make sense unchanged there. (I'm happy to see that the origin model is working out here!) -- GitHub Notification of comment by littledan Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/152#issuecomment-444395247 using your GitHub account
Received on Wednesday, 5 December 2018 08:08:27 UTC