- From: Kenneth Rohde Christiansen via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Nov 2015 14:01:11 +0000
- To: public-web-nfc@w3.org
The other option people are exploring are CancellationTokens which would then basically be a special kind of Promise which you pass to the method. ``` CancellationToken t; watch(..., t).then(...); t.cancel(); ``` Then watch would basically be a Promise.race between an internal promise and the cancellation token. -- GitHub Notif of comment by kenchris See https://github.com/w3c/web-nfc/issues/86#issuecomment-153362699
Received on Tuesday, 3 November 2015 14:01:15 UTC