Re: [web-nfc] NFCReadingEvent has an attribute with a type of dictionary? (#232)

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