Re:Chrome 81: Near Field Communications, Augmented Reality, ...
by codemysoul on Wednesday March 11, 2020 @09:50AM
(#22545800)
The NDEFWriter write()-method currently returns a promise which is resolved on a successful write operation and rejected on a failed write operation, so you would need to use async-await to be able to loop those writes like that. Here is a reference to the Web NFC API Write-operation: https://w3c.github.io/web-nfc/#writing-to-an-nfc-tag
[ Parent
| on HN ]
There are no comments on this comment yet.