- From: Zoltan Kis via GitHub <sysbot+gh@w3.org>
- Date: Thu, 27 Sep 2018 10:47:03 +0000
- To: public-web-nfc@w3.org
I agree with getting rid of a separate `cancel(id)`, but I don't like this proposal of using AbortController. There is no network operations to be aborted with a watch, this is about canceling a local operation or subscription. Therefore IMHO it would be better to apply a simpler pattern. Setting up a watch could return an object that has a `cancel()` method. Looks like Observables have the best fit here, just like with #152. -- GitHub Notification of comment by zolkis Please view or discuss this issue at https://github.com/w3c/web-nfc/issues/147#issuecomment-425045173 using your GitHub account
Received on Thursday, 27 September 2018 10:47:05 UTC