Re: [web-nfc] Simplify scan() (#569)

> adding the convenience of a read() method that does a single read.  

This crossed my mind, too. 
We could leave scan() as it is with AbortController (for which we received dev feedback to keep).

Anyway it's a convenience and someone can implement it with scan(), so I am not sure it's worth doing. Maybe we could include an example on how to implement a simple read() that resolves with the data.adding the convenience of a read() method that does a single read?

-- 
GitHub Notification of comment by zolkis
Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/569#issuecomment-622309973 using your GitHub account

Received on Friday, 1 May 2020 09:02:39 UTC