Re: [web-nfc] Use AbortController/*Signal instead of cancelWatch(optional long id);

OK, we could do that. I see there is a polyfill in Node.js too. We could even use that in the Web of Things as well as a generic pattern.

> Being able to cancel all these things together using a single tool is the dream

Right. A bit unrelated, but I am sad to see Observables go down, as it was a powerful single tool to handle events, streams with possibility to filtering at source or on consumption. Whatever. It's more important to have a workable consensus than to _not_ have the best one.

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

Received on Saturday, 29 September 2018 10:50:43 UTC