Re: [web-nfc] Join NDEFReader and NDEFWriter (#601)

Quick question: Is it clear for web developers that `onerror` will get fired only when scan has started.
I can see why some web developers would think this code would work.

```js
const ndef = new NDEFReader();
ndef.onerror = event => {
  /* Was there an error while writing? */
}
ndef.write('hello world');
```

-- 
GitHub Notification of comment by beaufortfrancois
Please view or discuss this issue at https://github.com/w3c/web-nfc/pull/601#issuecomment-697314657 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 23 September 2020 11:55:07 UTC