- From: Zoltan Kis via GitHub <sysbot+gh@w3.org>
- Date: Tue, 25 Jun 2019 15:54:56 +0000
- To: public-web-nfc@w3.org
We could use a similar pattern we used for Web of Thing discovery: - keep an internal slot/queue in `NFCReader` to store the read `NFCMessage` objects until they are consumed (or reach a max size) - fire an `onreading` event when we get an `NFCMessage` - add a `next()` function to `NFCReader` that returns either an `NFCMessage` or `null` if the internal queue is empty. -- GitHub Notification of comment by zolkis Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/232#issuecomment-505507712 using your GitHub account
Received on Tuesday, 25 June 2019 15:54:57 UTC